From: Jon Parise <j...@indelible.org>
Date: Thu, 23 Aug 2012 16:13:54 -0700
Local: Thurs, Aug 23 2012 7:13 pm
Subject: Re: [tornado] Gracefully Stop PeriodCallback During Shutdown
I took a closer look at this code against Tornado 2.3, and it doesn't
behave quite the same way as when I originally wrote it a couple of years back. For example, the polling behavior doesn't appear to be working as it once did. I don't know if something changed in the surrounding code or in Tornado itself, but I'm afraid I don't have the time to dig into it at the moment. If you learn anything useful, however, I'd appreciate hearing about it.
On Wed, Aug 22, 2012 at 2:44 PM, Calvin <calvinwyo...@gmail.com> wrote:
> Ahh this is awesome -- looks like what I was looking for. > But I do one question about how it works. On line 20 of your gist, you
> Thanks again!
> On Wednesday, August 22, 2012 12:42:26 PM UTC-7, Jon Parise wrote:
>> On Wed, Aug 22, 2012 at 11:03 AM, Calvin <calvin...@gmail.com> wrote:
>> > I have a PeriodicCallback that makes HTTP requests to an external API
>> > Whenever I shut down the Tornado server, I run the risk of doing so in
>> I use a graceful shutdown process in my application. It blocks for up
>> Here's the code: https://gist.github.com/3428652
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||