how can I tell if a background job or a non-blocking request by gearman client is successful or not?
while (True):
jobs = getJobs()
submitted_requests = gm_client.submit_multiple_jobs(jobs, background = False, wait_until_complete = False)
# check status in a non-blocking mode
You can refer to this link
here is the snippet
check_request_status is defined in the link.