I am enqueuing tasks within a transaction.
tx.begin()
for (int i=0;i10;i++) {
Queue queue = QueueFactory.getDefaultQueue();
TaskOptions task = url(/taskurl);
task.param(param, value);
queue.add(task);
}
tx.commit();
I constantly get TransactionalTaskException when enqueuing task
Yes, the limit is 5:
http://code.google.com/appengine/docs/python/datastore/transactions.html#What_Can_Be_Done_In_a_Transaction
On Mon, Mar 8, 2010 at 4:10 AM, JD liva...@gmail.com wrote:
I am enqueuing tasks within a transaction.
tx.begin()
for (int i=0;i10;i++) {
Queue queue =
Oops, that was the python link. Java link is
http://code.google.com/appengine/docs/java/datastore/transactions.html#What_Can_Be_Done_In_a_Transaction
On Mon, Mar 8, 2010 at 10:02 AM, Max Ross (Google)
maxr+appeng...@google.com maxr%2bappeng...@google.com wrote:
Yes, the limit is 5: