Skip to content

'cs' cache option is not thread safe #25

@arindamchoudhury

Description

@arindamchoudhury

Hi,

I am using fcache version 0.4.7

I am getting the following error:

  File "/root/app/collector/libs/eccache.py", line 15, in __init__
    self.cache = FileCache(name, flag='cs', app_cache_dir=cache_dir)
  File "/usr/local/lib/python2.7/site-packages/fcache/cache.py", line 121, in __init__
    self.create()
  File "/usr/local/lib/python2.7/site-packages/fcache/cache.py", line 141, in create
    os.makedirs(self.cache_dir)
  File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions