Michał Rudowicz
64780e249c
Fix race condition in Matterbridge sender
2025-01-02 14:08:39 +01:00
Michał Rudowicz
15f6e8bc24
Matterbridge is optional and can appear many times
2025-01-02 13:42:53 +01:00
Michał Rudowicz
94a47b2962
Matterbridge sender
2025-01-02 13:42:53 +01:00
Michał Rudowicz
64f4930b4e
Avoid possible race condition with waitgroups
...
Looks like calling wg.Add(1) from a goroutine can cause a race condition
with wg.Wait() - can be easily avoided by calling Add() before the
subroutine is created.
2025-01-02 13:40:25 +01:00
Michał Rudowicz
39ec8f2764
Make config fields public
2024-03-24 16:54:33 +01:00
Michał Rudowicz
12fc45ec38
Potentially multiple callback URLs for events
2024-03-24 09:32:03 +01:00
Michał Rudowicz
df2fdc970b
Revert "Force GC when each event is at the end of its path"
...
This reverts commit c5efc28c82
.
2024-03-12 16:56:52 +01:00
Michał Rudowicz
c5efc28c82
Force GC when each event is at the end of its path
2024-03-11 23:41:42 +01:00
Michał Rudowicz
7815009318
(hopefully) fix not all chatIds being used
2024-03-10 21:15:51 +01:00
Michał Rudowicz
2b17a34ff7
Fix hang on close
2024-03-10 13:55:29 +01:00
Michał Rudowicz
3e3eb3bc5d
Message throttling
2024-03-10 10:52:27 +01:00
Michał Rudowicz
ed9981afbe
HTTP Callback for activated alarm
2024-03-06 22:31:08 +01:00
Michał Rudowicz
b12d7168c9
HTTP callbacks for partition arm/disarm
2024-03-06 18:51:21 +01:00
Michał Rudowicz
f0a16ab443
Bump go-satel; remove throttling of messages
2024-03-05 22:30:48 +01:00
Michał Rudowicz
795ffb66d9
Telegram message formatting
2024-02-19 19:52:40 +01:00
Michał Rudowicz
079e32e893
Some TG-specific improvements with possible other methods as well
2024-02-18 18:00:01 +01:00
Michał Rudowicz
7a9a973904
Shuffling things around in hope that it'll be better in the end
2024-02-18 09:42:27 +01:00
Michał Rudowicz
e776813230
Split sending into chained goroutines
2024-02-18 01:44:10 +01:00
Michał Rudowicz
bec0241d9c
Logging
2024-02-11 22:48:11 +01:00
Michał Rudowicz
1f03609182
General cleanup, testing improvements
2024-02-11 14:56:03 +01:00
Michał Rudowicz
901aa8cfd6
Mock time functions
2024-02-11 11:51:41 +01:00
Michał Rudowicz
9f67c17fc4
Make sure to send leftover messages when application is closing
2024-02-11 00:24:11 +01:00
Michał Rudowicz
6f0f78907c
More reorganizing, new throttling
2024-02-11 00:13:31 +01:00