Make parameter naming consistent - wikibase.upload.maxLag (#2631)

Fixes #2304 & #2469
This commit is contained in:
Tom Morris 2020-05-21 14:39:34 -04:00 committed by GitHub
parent 53020a9ad7
commit 219ce236a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ public class EditBatchProcessor {
private int globalCursor; private int globalCursor;
private Map<String, EntityDocument> currentDocs; private Map<String, EntityDocument> currentDocs;
private int batchSize; private int batchSize;
protected static final String MAX_LAG_KEY = "wikibase:upload:maxLag"; protected static final String MAX_LAG_KEY = "wikibase.upload.maxLag";
protected static final int MAX_LAG_DEFAULT = 5; // 5 second default maxLag protected static final int MAX_LAG_DEFAULT = 5; // 5 second default maxLag
protected PreferenceStore prefStore = ProjectManager.singleton.getPreferenceStore(); protected PreferenceStore prefStore = ProjectManager.singleton.getPreferenceStore();