Evgeny
850d2fa423
ntf server: PostgreSQL database storage ( #1519 )
...
* ntf server: PostgreSQL database storage
* ntf server: import/export stubs
* ntf server postgres db functions
* some notifications tests pass
* notifications tests pass
* import/export notification store logs
* fix ntf server CLI
* log in parralel
* update subscription statuses using executeMany
* fix import/export
* refactor
* fix queries
* prohibit token_id and subscription_id updates, dont update tokens and subscriptions on conflict, improve server insertion, remove duplicate tokens for import, remove subscriptions without tokens for import
* comment
* remame
* increase test delay
2025-04-25 16:47:39 +01:00
Evgeny
f871f20172
smp server: fix notification delivery ( #1350 )
...
* .401
* stats for undelivered notifications
* logs, stats
* control port show ntf client IDs
* check that Ntf client is still current and that queue is not full, drop notifications otherwise
* prevent losing notifications when client is not current or queue full
* add log when no notifications, remove some logs
* reduce STM transaction
* revert version change
2024-10-07 09:01:28 +01:00
Evgeny Poberezkin
61b2b9df1a
Re-commit: smp server: persist notifications to avoid losing them when ntf server is offline ( #1336 )
...
This reverts commit 0ba3e69872 .
2024-10-02 12:23:46 +01:00
Evgeny Poberezkin
0ba3e69872
Revert "smp server: persist notifications to avoid losing them when ntf server is offline ( #1336 )"
...
This reverts commit 0739f7b702 .
2024-10-02 09:49:43 +01:00
Evgeny
0739f7b702
smp server: persist notifications to avoid losing them when ntf server is offline ( #1336 )
...
* ntf server: types for storing notifications
* fix tests
* remove comments
* batch NMSGs test
* fix test
* thread to expire notifications
* persist notifications on restart
* optimize
* refactor
* remove reverse
* control port stats
2024-09-29 18:50:16 +01:00