I've added some syslog stuff to determine when cron job is done...
and, it's strange. It seems that cron job is done after 5 seconds, but
commits are done 3 minutes later.

Mar 26 10:10:01 ns204293 python: Job started
Mar 26 10:10:05 ns204293 python: Job done

And then

Mar 26 10:13:08 ns204293 postgres[10543]: [2-1] [10543]LOG:  duration:
2207.464 ms  statement: COMMIT
Mar 26 10:14:10 ns204293 postgres[10611]: [2-1] [10611]LOG:  duration:
1232.730 ms  statement: COMMIT
Mar 26 10:14:18 ns204293 postgres[10623]: [2-1] [10623]LOG:  duration:
2160.053 ms  statement: COMMIT
Mar 26 10:14:19 ns204293 postgres[10626]: [2-1] [10626]LOG:  duration:
1017.767 ms  statement: COMMIT
Mar 26 10:14:22 ns204293 postgres[10633]: [2-1] [10633]LOG:  duration:
1367.446 ms  statement: COMMIT
Mar 26 10:14:28 ns204293 postgres[10638]: [2-1] [10638]LOG:  duration:
1728.915 ms  statement: COMMIT
Mar 26 10:14:28 ns204293 postgres[10639]: [2-1] [10639]LOG:  duration:
1995.378 ms  statement: COMMIT
Mar 26 10:15:15 ns204293 postgres[10681]: [2-1] [10681]LOG:  duration:
2381.933 ms  statement: COMMIT

It's normal behaviour?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to