is there a commit in the functions? Functions executed in the scheduler
environment are like the ones you use in the web2py shell: you have to
manually commit them to save your results.
On Monday, October 29, 2012 2:59:22 PM UTC+1, Adi wrote:
>
> This simple insert into mongodb works fine when c
Niphlod... you have full right to punch me :)
the problem was that the scheduler from other server was working all this
time, and mongo changes i introduced actually never kicked in (I counted on
scheduler running from this server)... Now, I'll hide for some time, while
re-arranging the "task c
no probl, I was only suggesting the first thing that users forget.
PS: unless you have to track something and/or prioritize and/or find the
exceptions in your code (timeouts, etc), you can reduce the complexity
embedding functions into functions, i.e.
def test():
#do something
def master_
yes, i had it for mysql and that worked fine, but my understanding is that
mongodb doesn't have commit... but i'll look in that direction to see if
there is something similar... Mind you, when I insert task from my local
machine, document gets inserted into mongodb properly through scheduler.
On
4 matches
Mail list logo