You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
reading the code, the lib api includes support to expiration, but the mapper not. I think that the only thing needed is in lib/index.js change to -->
/**
@param {!number} expiration in seconds of the item to set
@return {apphosting.MemcacheSetRequest} a memcache set request proto
*/
function makeMemcacheSetProto(key, value, expiration) {
var memcacheSetRequest = new apphosting.MemcacheSetRequest();
var item = new apphosting.MemcacheSetRequest.Item();
item.setKey(key);
item.setValue(value);
if(expiration)
item.setExpiresInSeconds(expiration)
item.setSetPolicy(apphosting.MemcacheSetRequest.SetPolicy.SET);
memcacheSetRequest.addItem(item);
return memcacheSetRequest;
}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Seems like the python client can do this https://cloud.google.com/appengine/docs/python/memcache/clientclass#Client_set
The text was updated successfully, but these errors were encountered: