(queue)
| 6293 | } |
| 6294 | } |
| 6295 | function pollLowPollingIntervalQueue(queue) { |
| 6296 | // Always poll complete list of changedFilesInLastPoll |
| 6297 | pollQueue(changedFilesInLastPoll, PollingInterval.Low, /*pollIndex*/ 0, changedFilesInLastPoll.length); |
| 6298 | // Finally do the actual polling of the queue |
| 6299 | pollPollingIntervalQueue(queue); |
| 6300 | // Schedule poll if there are files in changedFilesInLastPoll but no files in the actual queue |
| 6301 | // as pollPollingIntervalQueue wont schedule for next poll |
| 6302 | if (!queue.pollScheduled && changedFilesInLastPoll.length) { |
| 6303 | scheduleNextPoll(PollingInterval.Low); |
| 6304 | } |
| 6305 | } |
| 6306 | function pollQueue(queue, pollingInterval, pollIndex, chunkSize) { |
| 6307 | return pollWatchedFileQueue(host, queue, pollIndex, chunkSize, onWatchFileStat); |
| 6308 | function onWatchFileStat(watchedFile, pollIndex, fileChanged) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…