-
Notifications
You must be signed in to change notification settings - Fork 28
Cache
Emcee caches contents of URLs locally. You should not change the files behind URLs that you pass to Emcee. These changes might be not picked up, unless you nuke the caches.Generate new URLs instead.
Emcee maintains file cache on each worker. It lives in ~/Library/Caches/ru.avito.Runner.cache/
. Currently it keeps only the files used by test runner within the last hour.
It is advisable to not mess with cache. The only operation you can perform with it is to nuke it entirely, but be sure all Emcee processes are killed, e.g. by running pkill Emcee*
.
Multiple instances of Emcee can have access to this shared file cache. This is controlled by a shared file lock on the whole cache. Thus, it is safe to update Emcee queue and workers as needed, they will not affect each other when using file cache.
You can provide remote cache configuration JSON file for runtime dump via --remote-cache-config argument. When config is provided, Emcee will try to obtain cached runtime dump result from remote server and will store new results at this server.
Content of JSON is defined by configuration file. Example of JSON File is Here.