On 6/15/06, Richard Clark <[EMAIL PROTECTED]> wrote:
this is nice thanks
I had exactly that problem but my time frame was much smaller. Have you try this in a more intensive use, like ones every 5sec?
yes lots of interesting stuff can be done with this and the scheduler module.
Basically a short writeup of some interesting stuff I've had to do for
a project I've been working on recently. If people find this
interesting, I'll see if I can post some actual code listings.
Creating a background batch processing thread.
this is nice thanks
Even better, with this mechanism (rather than, say, using scheduler),
you don't run the risk of having the processor execute simultaneously,
if it takes longer than 5 minutes to process the creditcards, it simply
won't get back around to waiting. When it does, if there are any new
events, it'll go check again.
I had exactly that problem but my time frame was much smaller. Have you try this in a more intensive use, like ones every 5sec?
Other uses include things like a thread which maintains a jabber
connection and lets you log messages into a conference (done that, good
fun :) multiplayer logs with comments!).
yes lots of interesting stuff can be done with this and the scheduler module.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

