Ignore:
Timestamp:
Nov 17, 2008, 1:20:04 PM (16 years ago)
Author:
broder
Message:

Now that consolefs is really caching, cache for a shorter period of time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-console-server/files/usr/bin/invirt-consolefs

    r1699 r1700  
    4646                """Refresh the local cache of VMs if the cache is more than 15 minutes old
    4747                """
    48                 if time() - self.lasttime > 15:
     48                if time() - self.lasttime > 5:
    4949                        self.lasttime = time()
    5050                        database.clear_cache()
Note: See TracChangeset for help on using the changeset viewer.