æè¿Gearmanã«å ¥éãã¦ããã®ã§ãããããããã¨ã¯ã¾ã£ãã®ã§ã¡ã¢ã $worker->workã¯âDo one jobâã§ã¯ãªãDo job loop Gearman::Workerã®PODã«ã¯ $worker->work while 1; ã¿ãããªãµã³ãã«ãæ¸ãã¦ãã£ãã Gearman::Job->work(%opts) Do one job and returns (no value returned). You can pass "on_start" "on_complete" and "on_fail" callbacks in %opts. ã£ã¦æ¸ãã¦ããã®ã§ãã(ãããããã¯ãGearman::Jobã§ã¯ãªãã¦Gearman::Workerã ãããã) workã¯ãªãã·ã§ã³ç¡ãã§å¼ã°ããå ´åã¯while 1ãªãããªãã¦ãloopãã¾ãã work_onceçãªåãã«ããã
{{#tags}}- {{label}}
{{/tags}}