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))
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"@standardnotes/api": "workspace:*",
|
||||
"@standardnotes/common": "^1.50.0",
|
||||
"@standardnotes/domain-core": "^1.25.0",
|
||||
"@standardnotes/domain-events": "^2.120.0",
|
||||
"@standardnotes/domain-events": "^2.121.0",
|
||||
"@standardnotes/encryption": "workspace:*",
|
||||
"@standardnotes/features": "workspace:*",
|
||||
"@standardnotes/files": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user