mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SEARCH-438
- code refactoring
This commit is contained in:
@@ -7,7 +7,7 @@ let makeBoundTimedCollector = function(isIndexing, timeout, callback) {
|
||||
if (!timer){
|
||||
timer = setTimeout(function(){
|
||||
if (!isIndexing) {
|
||||
flush(getQueue())
|
||||
flush(getQueue());
|
||||
}
|
||||
}, timeout);
|
||||
}
|
||||
@@ -28,11 +28,11 @@ let makeBoundTimedCollector = function(isIndexing, timeout, callback) {
|
||||
}
|
||||
|
||||
function getQueue(){
|
||||
return messagesData
|
||||
return messagesData;
|
||||
}
|
||||
|
||||
function resetQueue(){
|
||||
messagesData = []
|
||||
messagesData = [];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user