gfcapalbo / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

creating /tmp/python.cache_<USER_NAME> and not deleting it. #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. GetUserTimeline()
2. check /tmp/python.cache_<USER_NAME>
3. temporary files are not deleting. 

What is the expected output? What do you see instead?
No cache

What version of the product are you using? On what operating system?
Ubuntu 10.10
Python 2.7

Please provide any additional information below.

Each API call is creating a cache file and it results in the increase if 
inodes. This is not good for an OS

Original issue reported on code.google.com by e...@dexetra.com on 3 May 2012 at 2:33

GoogleCodeExporter commented 9 years ago
Same issue here, but what bugged me is these directories (one per user who ever 
used python-twitter) was using up to 930MB (the size assigned to /tmp)

Debian Sid, Python 2.7

Original comment by prog...@gmail.com on 12 Jun 2013 at 11:45

GoogleCodeExporter commented 9 years ago
pass cache=None to disable caching
ie:
twitter.Api(cache=None)

Original comment by darnesme...@gmail.com on 22 Jul 2013 at 5:17