chore: handle messages via websockets (#2473)
* chore: handle messages via websockets * chore: update domain events * fix: specs * fix: adjust server revision creation delay
This commit is contained in:
@@ -267,6 +267,7 @@ describe('history manager', () => {
|
||||
|
||||
it('should save initial revisions on server', async () => {
|
||||
const item = await Factory.createSyncedNote(application)
|
||||
expect(item).to.be.ok
|
||||
|
||||
await Factory.sleep(Factory.ServerRevisionCreationDelay)
|
||||
|
||||
|
||||
@@ -288,7 +288,7 @@ export async function storagePayloadCount(application) {
|
||||
* Controlled via docker/syncing-server-js.env
|
||||
*/
|
||||
export const ServerRevisionFrequency = 2.1
|
||||
export const ServerRevisionCreationDelay = 1.0
|
||||
export const ServerRevisionCreationDelay = 1.5
|
||||
|
||||
export function yesterday() {
|
||||
return new Date(new Date().setDate(new Date().getDate() - 1))
|
||||
|
||||
Reference in New Issue
Block a user