forked from mystiq/hydrogen-web
move sync & persistence engine over to own matrix folder
This commit is contained in:
parent
b57c5abdd6
commit
bff0161a05
20 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
import HomeServerApi from "./hs-api.js";
|
import HomeServerApi from "./matrix/hs-api.js";
|
||||||
import Session from "./session.js";
|
import Session from "./matrix/session.js";
|
||||||
import createIdbStorage from "./storage/idb/create.js";
|
import createIdbStorage from "./matrix/storage/idb/create.js";
|
||||||
import Sync from "./sync.js";
|
import Sync from "./matrix/sync.js";
|
||||||
|
|
||||||
const HOST = "localhost";
|
const HOST = "localhost";
|
||||||
const HOMESERVER = `http://${HOST}:8008`;
|
const HOMESERVER = `http://${HOST}:8008`;
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {
|
||||||
HomeServerError,
|
HomeServerError,
|
||||||
StorageError
|
StorageError
|
||||||
} from "./error.js";
|
} from "./error.js";
|
||||||
import EventEmitter from "./event-emitter.js";
|
import EventEmitter from "../event-emitter.js";
|
||||||
|
|
||||||
const INCREMENTAL_TIMEOUT = 30000;
|
const INCREMENTAL_TIMEOUT = 30000;
|
||||||
const SYNC_EVENT_LIMIT = 10;
|
const SYNC_EVENT_LIMIT = 10;
|
Loading…
Reference in a new issue