You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using a pyramid + mongodb + beaker stack in a project.
Tried using cache_region and region_invalidate but the namespace being supplied to the MongoDB write is written in forward slash (native windows directory listing).
My hack was to replace the forward slashes in the namespace to backward slashes.
Not sure I got why this should only happen in _clear_expired.
I get that cache_region is going to generate a namespace based on the file names on disk, which is something you might not want, but the namespace is persisted in the decorated function as _arg_namespace so it should be consistent between cache_region and region_invalidate and always have the same kind of slashes
I'm currently using a pyramid + mongodb + beaker stack in a project.
Tried using
cache_region
andregion_invalidate
but the namespace being supplied to the MongoDB write is written inforward slash
(native windows directory listing).My hack was to replace the forward slashes in the namespace to backward slashes.
The text was updated successfully, but these errors were encountered: