Passing the contents of a file around within a task is not really correct. Rather store the file in the blobstore (or the datastore) first and then pass a reference to the location of the file as a parameter to the task.
On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote: > > Hi, > > I have a deferred task and am doing database insertion in task queue > defined as below, > > <queue> > <name>dbinsert</name> > <rate>20/s</rate> > <bucket-size>100</bucket-size> > <max-concurrent-requests>10</max-concurrent-requests> > <retry-parameters> > <task-retry-limit>7</task-retry-limit> > </retry-parameters> > </queue> > > > Since i am uploading files in task, most often i get the exception "Task > size too large". > > What can i do to avoid this ? > > > > thanks > Deepak Singh > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/bP6mraNokV0J. 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/google-appengine?hl=en.
