/usr/share/pyshared/gearman/constants.py is in python-gearman 2.0.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | _DEBUG_MODE_ = False
DEFAULT_GEARMAN_PORT = 4730
PRIORITY_NONE = None
PRIORITY_LOW = 'LOW'
PRIORITY_HIGH = 'HIGH'
JOB_UNKNOWN = 'UNKNOWN' # Request state is currently unknown, either unsubmitted or connection failed
JOB_PENDING = 'PENDING' # Request has been submitted, pending handle
JOB_CREATED = 'CREATED' # Request has been accepted
JOB_FAILED = 'FAILED' # Request received an explicit fail
JOB_COMPLETE = 'COMPLETE' # Request received an explicit complete
|