mirror of
https://github.com/zoriya/flood.git
synced 2026-06-03 11:16:36 +00:00
Add comment about method call indices in #removeTorrents
This commit is contained in:
@@ -52,8 +52,10 @@ class ClientRequestService extends EventEmitter {
|
||||
// remove them.
|
||||
if (options.deleteData) {
|
||||
// We offset the indices of these method calls so that we know exactly
|
||||
// where to retrieve them in the future.
|
||||
// where to retrieve the responses in the future.
|
||||
const directoryBaseMethodCallIndex = index + options.hashes.length;
|
||||
// We also need to ensure that the erase method call occurs after
|
||||
// our request for information.
|
||||
eraseFileMethodCallIndex = index + options.hashes.length * 2;
|
||||
|
||||
accumulator[index] = {
|
||||
|
||||
Reference in New Issue
Block a user