Re: [Twisted-Python] Deferring 201 status code

2015-06-23 Thread Glyph
> On Jun 23, 2015, at 10:17 AM, Vikas Kumar wrote: > > Hi, > > My controller code first updates DB and then sends out 201 status code > indicating it is done updating in DB. > Issue is somebody waiting to fetch this update from DB will not work > immediately because DB update takes some time

[Twisted-Python] Deferring 201 status code

2015-06-23 Thread Vikas Kumar
Hi, My controller code first updates DB and then sends out 201 status code indicating it is done updating in DB. Issue is somebody waiting to fetch this update from DB will not work immediately because DB update takes some time(approximately 0.5 second) to come into effect. Is there a way I can c