diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -315,12 +315,14 @@ Using relative offsets or 'start at' dates solves this problem. libfaketime then will always report the faked time based on the real current time and the offset you've specified. -Please also note that your specification of the fake time is cached for 10 -seconds in order to enhance the library's performance. Thus, if you change the +Please also note that your default specification of the fake time is cached for +10 seconds in order to enhance the library's performance. Thus, if you change the content of $HOME/.faketimerc or /etc/faketimerc while a program is running, it may take up to 10 seconds before the new fake time is applied. If this is a -problem in your scenario, you can disable caching at compile time by adding the -command line option -DNO_CACHING to this library's Makefile. +problem in your scenario, you can change number of seconds before the file is read +again with environment variable FAKETIME_CACHE_DURATION, or disable caching at all +with FAKETIME_NO_CACHE=1. Remember that disabling the cache may negatively +influence the performance. 4f) Faking the date and time system-wide |