… | |
… | |
70 | |
70 | |
71 | # we don't actually care if it succeeds or not, as we |
71 | # we don't actually care if it succeeds or not, as we |
72 | # will just retry an hour later |
72 | # will just retry an hour later |
73 | BDB::db_txn_finish $txn; |
73 | BDB::db_txn_finish $txn; |
74 | |
74 | |
75 | warn "tag-updated $file (= $key) <@tags>\n" |
75 | cf::debug "tag-updated $file (= $key) <@tags>\n" |
76 | if @tags; |
76 | if @tags; |
77 | } |
77 | } |
78 | |
78 | |
79 | sub scan_static { |
79 | sub scan_static { |
80 | my $maps = cf::map::static_maps; |
80 | my $maps = cf::map::static_maps; |
… | |
… | |
149 | # delete $map->{deny_reset}; |
149 | # delete $map->{deny_reset}; |
150 | # } |
150 | # } |
151 | # } |
151 | # } |
152 | # } |
152 | # } |
153 | |
153 | |
154 | warn sprintf "map-tag scan finished (%fs)\n", AE::time - $start; |
154 | cf::info sprintf "map-tag scan finished (%fs)\n", AE::time - $start; |
155 | } |
155 | } |
156 | |
156 | |
157 | our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, Coro::unblock_sub { |
157 | our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, Coro::unblock_sub { |
158 | $Coro::current->prio (Coro::PRIO_MIN); |
158 | $Coro::current->prio (Coro::PRIO_MIN); |
159 | $Coro::current->desc ("map-tag scanner"); |
159 | $Coro::current->desc ("map-tag scanner"); |