Add unit to setting

This commit is contained in:
Andras Schmelczer 2024-12-15 12:03:16 +00:00
parent faef0978a7
commit 098540323e
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 5 additions and 5 deletions

View file

@ -73,13 +73,13 @@ export default class SyncPlugin extends Plugin {
this.registerRemoteEventListener(
database,
syncServer,
database.getSettings().fetchChangesUpdateInterval
database.getSettings().fetchChangesUpdateIntervalMs
);
database.addOnSettingsChangeHandlers((settings) => {
this.registerRemoteEventListener(
database,
syncServer,
settings.fetchChangesUpdateInterval
settings.fetchChangesUpdateIntervalMs
);
});