WithClock overrides the clock used by the purger. Defaults to quartz.NewReal().
(clk quartz.Clock)
| 69 | // WithClock overrides the clock used by the purger. Defaults to |
| 70 | // quartz.NewReal(). |
| 71 | func WithClock(clk quartz.Clock) Option { |
| 72 | return func(i *instance) { i.clk = clk } |
| 73 | } |
| 74 | |
| 75 | // WithChatAutoArchiveBatchSize overrides how many root chats a |
| 76 | // single tick will auto-archive. Defaults to |
no outgoing calls