Group DB queries on pushing multiple notifications until we flush()#1161
Group DB queries on pushing multiple notifications until we flush()#1161nickvergessen merged 4 commits intomasterfrom
Conversation
39d9452 to
42d64b0
Compare
42d64b0 to
86c3eb3
Compare
|
Rebased after merge of #1157 |
|
Please review @vitormattos @danxuliu so this goes in for 24 |
danxuliu
left a comment
There was a problem hiding this comment.
Other than the comments, code looks good (but I have not tested it).
danxuliu
left a comment
There was a problem hiding this comment.
Tested and, from my limited knowledge, works 👍
Note that I have not tested the scenario of having some device or status already loaded and then having to load some more when flushing the payloads (as I did not know how to trigger that :-) ); I just tested starting a call in Talk, which caused all the devices and statuses to be loaded in flushPayloads.
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
54b1d27 to
7024894
Compare
It is currently not possible without hardcoding something. There is no API call which sends a notification to 1 user and afterwards to a second set of users |
vitormattos
left a comment
There was a problem hiding this comment.
Do we have integration tests covering this?
|
Not really. The problem is there is no default API using this. We would need to add one. |
Uh oh!
There was an error while loading. Please reload this page.