]> git.giacomolli.uk - onechat/commit
Keep time limits with their operations
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 18:01:07 +0000 (15:01 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 18:30:10 +0000 (15:30 -0300)
commit48d7bce28b18ecef4c52c98821675605464cecb9
tree76aa0279a199089327f6a3affe30983b005890d0
parent3b2bf881d484ba1a33ff77a342564b8195a75c80
Keep time limits with their operations

Operation files own their duration constants without struct fields that
only supply shorter test waits. Fake time checks the full send, lookup,
batch, catch-up, notice, and schedule waits. Retry delays and batch
policy values stay the same.
21 files changed:
schedule.go
schedule_test.go
telegram.go
telegram_api.go
telegram_api_test.go
telegram_fake_helper_test.go
telegram_image_test.go
telegram_test.go
turn_loop_helper_test.go [new file with mode: 0644]
whatsapp.go
whatsapp_fake_helper_test.go
whatsapp_groups.go
whatsapp_image.go
whatsapp_image_test.go
whatsapp_inbox.go
whatsapp_inbox_test.go
whatsapp_route_test.go
whatsapp_send_test.go
whatsapp_state.go
whatsapp_state_test.go
whatsapp_test.go