I want to use result = gearman_client.submit_job("reverse_task", "Hello World!", wait_until_complete=False) to submit a non-blocking job to Gearman Job Server. However, result.state is always 'CREATED', and result.complete is always False. If I change wait_until_complete to True, then everything goes right. That's so wired. Can anyone help?
How to submit non-blocking job in Gearman?
297 views Asked by expoter At
1
There are 1 answers
Related Questions in MESSAGE-QUEUE
- What's the right ZMQ architecture for my scenario?
- How to Extract Queue Name, Priority, and Message ID from RabbitMQ Inbound Endpoint Messages in WSO2 MI 4.2?
- Is there any example or design of a queue system in microservices?
- tkinter: search widget by name in an efficient way
- How do I maintain the same internal host on RabbitMQ?
- How to use consistent hashing across publishers, queues, and consumers
- How can I monitor/locate specific communications between programs on WIN10?
- Celery manually decoding message body in python
- How to read more than 32 message from Azure storage Queue
- How many senders and receivers of a notification are possible in a POSIX message queue
- Make sure BullMQ queue pushes data to single node in redis cluster
- Problem with AMQP-CPP and libuv - TCP Channel is not ready
- The switch of keyboard layout on Windows: synchronization with the multistage-processing of character input
- Queuing mechanism per account
- Is there a way to define a RabbitMQ consumer that keeps listening for a queue without blocking the program?
Related Questions in GEARMAN
- Java gearman-client wont connect to german job server
- Cannot run Gearman worker - undefined symbol: ZVAL_NEW_ARR
- How to pass resource from a Gearman worker to client
- How to install Gearman Job Server with PHP
- Gearman worker in shell hangs as a zombie
- configure gearman php extension fail on MacOS - error: unknown type name 'zend_object_value'
- How to configure the rule in sakuli_gearman_proxy.cfg that modify the output of sakuli?
- Why when upgrade gearman python package from 'gearman(2.0.2)' to 'gearman3(0.2.0)', sometimes job missed and delayed
- Gearman installed on linux server, but not able to execute gearman commands
- Unable to download the pecl install gearman on Ubuntu
- Run Bash script once Docker container is loaded
- Gearman gearadmin - command line tool - clearing stubborn jobs
- Connecting from php application to gearman server over ssl
- What is a typical Gearman flow for database modification?
- How to install gearman extension in php7 running on ubuntu 18.04
Related Questions in PYTHON-GEARMAN
- How to submit non-blocking job in Gearman?
- Scrapy and Gearman
- Gearman Submit Multiple Jobs AttributeError: 'str' object has no attribute 'get'
- Python gearman basic example error
- gearman stop start restart command
- Calling remote gearman worker from local gearman client?
- running mutliple worker in parallel in gearman-python
- Python gearman Received non-binary argument
- Loading Yii models outside of framework
- Pass array into class in Python
- Error Running Gearman for Windows 7
- Cannot trap exceptions from Gearman Client instantiation
- How can I get the status of non-blocking jobs of gearman submit_multiple_jobs?
- How to create a news feed like Facebook using Django, Tastypie, Redis and the task queue Gearman?
- Error running basic python-gearman example
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As python-gearman described here, you should use
gearman_client.wait_until_jobs_completed([result])to wait until all jobs completed, rather than checkingresult.completein a while loop.