Ticket #65 (closed defect: fixed)

Opened 1 year ago

Last modified 2 months ago

Worker class names which are two long cause slave socket filename to be truncated and not work

Reported by: cra..@craigambrose.com Assigned to: ska..@waste.org
Priority: minor Milestone:
Component: workers Version: 0.2.1
Keywords: Cc:

Description

I had a worker called amazon_wish_list_importing_worker.

Attempting to use this worker gave the error: failed to find slave socket </tmp/backgroundrb.21378/amazon_wish_list_importing_worker_14a6109786d0d0142bfc1d9e180655b9_0_0.17425047650004> - (RuntimeError?)

The actual socket file that got created was: amazon_wish_list_importing_worker_14a6109786d0d0142bfc1d9e180655b9_0_0.174250

This appears to be missing the last eight characters. This would indicate that the maximum worker filename size is 25 characters.

The simplest resolution is probably to throw an error on starting the server, when the worker classes are first loaded, indicating which class name is two long.

Change History

12/16/07 04:38:52 changed by gethema..@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.

06/21/08 02:42:29 changed by

  • milestone deleted.

Milestone 0.2.1 Release deleted