Skip to content

Commit 4ca388a

Browse files
authored
Merge pull request #30 from fckwall/patch-2
Fix a memory leak issue
2 parents c2f049e + d4e7314 commit 4ca388a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PornHub/PornHub/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@
3636

3737
FEED_URI=u'/Users/xiyouMc/Documents/pornhub.csv'
3838
FEED_FORMAT='CSV'
39+
40+
DEPTH_PRIORITY = 1
41+
SCHEDULER_DISK_QUEUE = 'scrapy.squeues.PickleFifoDiskQueue'
42+
SCHEDULER_MEMORY_QUEUE = 'scrapy.squeues.FifoMemoryQueue'

0 commit comments

Comments
 (0)