Index: lib/storage.js |
=================================================================== |
--- a/lib/storage.js |
+++ b/lib/storage.js |
@@ -23,8 +23,9 @@ |
Storage.init = function() |
{ |
- Storage.dataFile = createTemporaryFile("crawler-data"); |
- [outputStream, converterOutputStream] = openOutputStream(Storage.dataFile); |
+ Storage.requestsFile = createTemporaryFile("crawler-requests"); |
+ [outputStream, converterOutputStream] = |
+ openOutputStream(Storage.requestsFile); |
}; |
Storage.write = function(data) |
@@ -41,5 +42,5 @@ |
Storage.destroy = function() |
{ |
- Storage.dataFile.remove(true); |
+ Storage.requestsFile.remove(true); |
}; |