Changeset 1700 for trunk/packages


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

Location:
trunk/packages/invirt-console-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-console-server/debian/changelog

    r1699 r1700  
    22
    33  * Add real caching to consolefs
    4 
    5  -- Evan Broder <broder@mit.edu>  Mon, 17 Nov 2008 13:16:09 -0500
     4  * Now that we're really caching, cache for a shorter period of time
     5
     6 -- Evan Broder <broder@mit.edu>  Mon, 17 Nov 2008 13:16:37 -0500
    67
    78invirt-console-server (0.0.13) unstable; urgency=low
  • 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.