[OTDev] rejecting tasks

Nina Jeliazkova jeliazkova.nina at gmail.com
Mon Nov 22 09:47:49 CET 2010


Hi All,

We have recently implemented "task rejection" functionality in IDEA
services.  If a task is rejected (e.g. because of high load), it gets status
"Cancelled" and returns HTTP code 503.

Both "Cancelled" status and 503 codes are already in the Task API
http://opentox.org/dev/apis/api-1.1/AsyncTask , but it is not quite clear if
it was intended to be applied in "task rejection" case.  Do we need separate
task status for marking rejected tasks, or the current setup is acceptable?

Best regards,
Nina



More information about the Development mailing list