]> Sergey Matveev's repositories - public-inbox.git/commit
ds: add_timer: allow passing arg to callback.
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:44 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:27:20 +0000 (22:27 +0000)
commit62bb26d307a106d6c9b42e36b583fd04d90a4687
tree5f647bcc38c4b05d842570fffaabb97b7be5a4bf
parentbb7b738bc49558f869a14a2eaecbc5e7f401de51
ds: add_timer: allow passing arg to callback.

This allows callers to avoid creating expensive closures.
We no longer pass the `$now' value to callers, as none of
the callers used it.
lib/PublicInbox/DS.pm
lib/PublicInbox/FakeInotify.pm
lib/PublicInbox/WatchMaildir.pm