gaepytz and production memcache

31 views
Skip to first unread message

Patrick Lewis

unread,
Jul 9, 2011, 2:32:23 AM7/9/11
to tipfy
I'm not sure that this change

http://goo.gl/R2Ik4

is using the real memcache in production App Engine. As I understand
it, the 'Development' SERVER_SOFTWARE is what the local SDK uses, so
the dummy memcache is being used in production.

I'm being lazy and not actually testing it out in production, so if
I'm off base, feel free to point it out.

Thanks.

Jan Killian

unread,
Jul 11, 2011, 6:39:53 AM7/11/11
to ti...@googlegroups.com
It seems so to me as well. The dummy memcache is (partial) answer to http://code.google.com/p/gae-pytz/issues/detail?id=3, but the change mentioned above is definitelly a regression.

Rodrigo Moraes

unread,
Jul 11, 2011, 10:00:20 AM7/11/11
to tipfy
Hi,
Thanks for pointing this out.

I think the idea was to use "if not os.environ.get('SERVER_SOFTWARE',
'').startswith('Development')", to disable it in development. I'll
commit a fix.

-- rodrigo
Reply all
Reply to author
Forward
0 new messages