fix(syncing-server): increase chances for notifying of items change
This commit is contained in:
parent
c9bfda91f4
commit
097e320490
1 changed files with 1 additions and 1 deletions
|
@ -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 !== 1) {
|
||||
if (diceRoll > 2) {
|
||||
this.logger.debug(`[${dto.userUuid}] Not sending items changed event to client.`)
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue