mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-22 20:42:59 +00:00
Fixed:
- Performance improvement - Now `Chunk size` can be set to under one hundred. New feature: - The number of transfers required before replication stabilises is now displayed.
This commit is contained in:
@@ -1184,8 +1184,8 @@ export class ObsidianLiveSyncSettingTab extends PluginSettingTab {
|
||||
.setValue(this.plugin.settings.customChunkSize + "")
|
||||
.onChange(async (value) => {
|
||||
let v = Number(value);
|
||||
if (isNaN(v) || v < 100) {
|
||||
v = 100;
|
||||
if (isNaN(v) || v < 1) {
|
||||
v = 1;
|
||||
}
|
||||
this.plugin.settings.customChunkSize = v;
|
||||
await this.plugin.saveSettings();
|
||||
|
||||
Reference in New Issue
Block a user