1
0
Fork 0
Commit Graph

17 Commits

Author SHA1 Message Date
Michał Rudowicz 4f91940047 Read config from YAML file 2024-03-24 18:39:12 +01:00
Michał Rudowicz 7815009318 (hopefully) fix not all chatIds being used 2024-03-10 21:15:51 +01:00
Michał Rudowicz 0c873ff77d Fix memory leak* when new message is received
*) technically the memory could still be referenced, so some would argue
   that it was not a memory leak, but when I see a program balooning up
   without a reason for it so OOM Killer deals with it I call it a
   memory leak, sue me
2024-03-10 14:08:39 +01:00
Michał Rudowicz 57c66c4690 Collect message contents during throttling
References https://todo.sr.ht/~michalr/hswro-alarm-bot/9
2024-03-10 11:25:36 +01:00
Michał Rudowicz 3e3eb3bc5d Message throttling 2024-03-10 10:52:27 +01:00
Michał Rudowicz 6b69fed5b8 Synchronize filtering goroutines 2024-03-10 10:12:04 +01:00
Michał Rudowicz 8237eda13d Join filters etc. to limit numbers of goroutines that aren't needed
References: https://todo.sr.ht/~michalr/hswro-alarm-bot/7
2024-03-05 23:01:38 +01:00
Michał Rudowicz f0a16ab443 Bump go-satel; remove throttling of messages 2024-03-05 22:30:48 +01:00
Michał Rudowicz 2e513fb4da Retrieve partition names from Satel 2024-03-04 22:01:35 +01:00
Michał Rudowicz 765a41f8a1 Log Satel disconnections 2024-03-03 12:59:02 +01:00
Michał Rudowicz 6d0c67f92a Separate DataStore object to allow for querying from separate place 2024-02-28 21:38:42 +01:00
Michał Rudowicz 557f5481fd Possibility to filter by indexes 2024-02-18 19:00:49 +01:00
Michał Rudowicz ab5bd412f2 Possibility to filter by ChangeType 2024-02-18 18:44:08 +01:00
Michał Rudowicz 8c8b7c4f9b Actually use FilterByLastSeen() 2024-02-15 20:20:56 +01:00
Michał Rudowicz eca858c01e FilterByLastSeen() persistence 2024-02-15 20:06:06 +01:00
Michał Rudowicz 919ddf569e FilterByLastSeen(); TODO: persistence 2024-02-14 21:34:16 +01:00
Michał Rudowicz 0d263179b4 FilterByType() 2024-02-13 23:20:15 +01:00