Skip to content

Commit

Permalink
Change delay for storage from 2 sec to 200 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Oct 17, 2018
1 parent 6d18a9e commit 0c5df10
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ public StoreService(File storageDir,
// API
///////////////////////////////////////////////////////////////////////////////////////////

//TODO why 2 seconds? seems too much...
protected void persist() {
storage.queueUpForSave(store, 2000);
storage.queueUpForSave(store, 200);
}

protected T getStore() {
Expand Down

0 comments on commit 0c5df10

Please sign in to comment.