update the game list to retain filters in the url query params
This commit is contained in:
@@ -10,7 +10,9 @@ export class Memcache {
|
||||
readonly replaceCallback
|
||||
|
||||
constructor(url: string) {
|
||||
this.memcached = new Memcached(url, {})
|
||||
this.memcached = new Memcached(url, {
|
||||
timeout: 30
|
||||
})
|
||||
|
||||
this.getCallback = promisify(this.memcached.get).bind(this.memcached)
|
||||
this.setCallback = promisify(this.memcached.set).bind(this.memcached)
|
||||
|
||||
@@ -78,7 +78,7 @@ export function addRushStatsApis(app, jsonParser, memcache) {
|
||||
let cachedResponse = await memcache.get('rolestats' + req.body.monthId)
|
||||
|
||||
if (cachedResponse) {
|
||||
console.log('cache hit')
|
||||
console.info('cache hit - ' + 'rolestats' + req.body.monthId)
|
||||
res.send(cachedResponse)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user