mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Log when deferred operations run
This commit is contained in:
parent
292dfcbe29
commit
0332b6eb3b
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ module Spectator
|
|||
|
||||
# Runs all deferred blocks.
|
||||
private def run_deferred
|
||||
Log.debug { "Running deferred operations" }
|
||||
error = nil.as(Exception?)
|
||||
elapsed = Time.measure do
|
||||
@deferred.each(&.call)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue