Skip to content

Commit

Permalink
caching updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolis Rusenas committed Aug 18, 2015
1 parent 2a361a8 commit 95eab69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/web_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ def get(self):

class SFHandler(BaseHandler):
@web.authenticated
@cache(300)
@allowed()
@cache(60)
@gen.coroutine
def get(self):
sf_obj = SFAccess(self.settings)
Expand Down Expand Up @@ -497,7 +497,7 @@ def get(self):
class SFHandlerBillDetailed(BaseHandler):
@web.authenticated
@allowed()
@cache(1)
@cache(60)
@gen.coroutine
def get(self):
sf_obj = SFAccess(self.settings)
Expand Down

0 comments on commit 95eab69

Please sign in to comment.