/
CHANGES
84 lines (54 loc) · 2.98 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
* Change listening socket to be a real Danga::Socket subclass, this allows
pausing for a period of time when we run into accept errors. This will
fix the problem of gearmand spinning 100% cpu in those cases.
* Make gearmand a little more vocal about socket accept errors.
* add fast read concept to server reading from client codepath. This drastically
improves performance of jobs over 1k in size.
* fix in-process client and start_worker method calls to use non-blocking
sockets like they should.
1.09 2007-05-09
* make start_worker (for making worker child processes), return
the pid in scalar context, or ($pid, $conn) in list context
* make the text command "status" show functions which have
registered workers, even if nothing is pending for that func.
1.08 2007-05-01
* let start_worker take a coderef for the exec, not just an $exe name
1.07 2007-05-01
* fix up bug in Gearman::Server: we set OtherFds, instead of adding with
Danga::Socket->AddOtherFds, blowing away other watched fds.
* Add Gearman::Server->to_inprocess_server that returns a socket connecting to
the server object, we can then use this socket with a Gearman::Client::Async
object to run clients and servers in the same thread.
* Add ability for workers to be launched as sub processes of the
gearmand, using a duped socketpair for communication.
1.06 2007-04-25
* split up the monolithic gearmand script (which had classes, but
all internally), into separate files per class, and also make
a new Gearman::Server class, so Gearman servers can be embedded
into other processes. (running Gearman router inside Perlbal,
MogileFS, DJabberd, etc... then having child processes be workers)
1.05
* add --pidfile=/path/file.pid option and document the command
line options (Ask Bjoern Hansen)
1.04 2007-02-20
* Add maximum jobqueue size feature, with a test.
1.03 2006-09-25
* "version" text command
* weakref client connections in listeners list so they go away.
still wondering why the jobs holding them lasted so long.
or was it a loop? time will tell. go gladiator.
1.02 2006-09-20
* Devel::Gladiator support for tracking elusive memory leak
* support for "shutdown" and "shutdown graceful" commands,
the latter of which immediate stops listens, and exits
when convenient
1.01 2006-07-01
* Artur Bergman backed out some changes seconds before I did
the 1.00 release. this puts them back in.
1.00 2006-07-01
* the get-it-on-CPAN-finally release. but forgot this changes
entry.
0.30 2006-06-27
* fix memory leak with sleepers list. change it from list to hash
so there can't be dups, as there were before, when a worker
could do multiple functions.