GAE Python NDB .put not synchronous on development (but works in production)?
问题 The following below should create a Counter model and use (deferred) tasks to increment the counter to 10. Visiting '/' ought to create a single Counter object with count = 10 . This happens in production. In development (localhost) multiple Counter objects are created with the largest being 10: I suspect this is because the put is not synchronous on development (but appears to always be on production). Is there a way to make them synchronous? Code snippet below: class Counter(ndb.Model):