æè¿Gearmanã使ã£ã¦ãã¦ããã£ãã®ã§ãããGearmanã§ã¯64kbããã(ãããã£ã¦ããææ§ãªè¡¨ç¾ãªã®ã¯ãæ¯åããã¨ã¯éããªããã)ã®ãã¼ã¿ãworkerã«æããã¨ããã¾ãå¦çã§ããªãããã§ãããã¾ãå¦çã§ããªãã¨ããããã¼ã¿ãæ¬ æãã¦ãã¾ãããã§ãã ãªãã§ãªã®ã調ã¹ã¦ã¿ãã¨ãGearman::Utilã®read_res_packet()ã¨ããé¢æ°ã®ä¸è¨ã®é¨åã§ãclientããæãããããã¼ã¿ãå
¨ã¦åå¾ã§ãã¦ããªãã¨ããã®ããããã¾ããã if ($len) { $rv = sysread($sock, $buf, $len); return $err->("short_body") unless $rv == $len; } ãã®é¨åã®$lenã¯ãclientããæãããããã¼ã¿(ãã±ãã)ã®ãããã¼ããåå¾ãããã®ã§ãworkerã«éããã¦ãããã¼ã¿é·ã«ãªãã¾ããã§ã$rv
{{#tags}}- {{label}}
{{/tags}}