mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
fix(syncing-server): increase chances for notifying of items change to 70%
This commit is contained in:
@@ -159,7 +159,7 @@ export class SaveItems implements UseCaseInterface<SaveItemsResult> {
|
||||
|
||||
const tenPercentSpreadArray = Array.from(Array(10).keys())
|
||||
const diceRoll = this.deterministicSelector.select(dto.userUuid, tenPercentSpreadArray)
|
||||
if (diceRoll > 2) {
|
||||
if (diceRoll > 6) {
|
||||
this.logger.debug(`[${dto.userUuid}] Not sending items changed event to client.`)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user