repo.or.cz
/
beanstalkd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add argument-free version of peek.
2007-10-18
Keith R
a
rick
Add argu
m
ent-f
r
ee
version of peek
.
commit
|
commitdiff
|
tree
2007-10-18
K
e
it
h
Raric
k
Whoops
.
commit
|
commitdiff
|
tree
2007-10-16
Keith
Rarick
M
o
r
e useful c
o
mpiler flags
.
commit
|
commitdiff
|
tree
2007-10-16
Keith Rarick
Make be
a
nstalk
b
e
a good
l
ittle d
a
emon
.
commit
|
commitdiff
|
tree
2007-10-16
Kei
t
h Rarick
More explicit word
i
n
g on a co
m
ment
.
commit
|
commitdiff
|
tree
2007-10-16
Keith Rarick
Just don
'
t run be
a
n
stalk as
r
oot
.
commit
|
commitdiff
|
tree
2007-10-15
Kei
t
h
Rarick
Keep
a
count
o
f urgent jobs
.
commit
|
commitdiff
|
tree
2007-10-15
Keit
h
Rarick
Don't set the job
s
ta
t
e if qu
e
ue i
n
sertion f
a
il
e
d
.
commit
|
commitdiff
|
tree
2007-10-12
Keith Rarick
M
ake it
b
uild on Mac OS X
.
commit
|
commitdiff
|
tree
2007-10-11
K
eith Rarick
Bury orphan
e
d jo
b
s if the queue
i
s fu
l
l
.
commit
|
commitdiff
|
tree
2007-10-11
Kei
t
h R
a
r
i
c
k
Make peek and stats work with bur
i
ed jobs too
.
commit
|
commitdiff
|
tree
2007-10-11
Keith
R
a
r
ick
Hook up the other
command
c
o
u
nter
s
t
a
ts
.
commit
|
commitdiff
|
tree
2007-10-11
Keith
Rarick
Implement
"
kick" comma
n
d
.
commit
|
commitdiff
|
tree
2007-10-11
Keith Rari
c
k
Implement "bur
y
"
c
omm
a
nd
.
commit
|
commitdiff
|
tree
2007-10-04
Ke
i
th R
a
r
ic
k
Handle pri
o
rity
o
verflow with saturat
i
o
n
.
commit
|
commitdiff
|
tree
2007-10-02
K
ei
t
h Rarick
Require the prior
i
ty i
n
r
e
serve c
o
mmands
.
commit
|
commitdiff
|
tree
2007-10-02
Ke
i
th Rarick
Set
priority when releasing
a
job
.
commit
|
commitdiff
|
tree
2007-10-02
Kei
t
h
Rar
i
c
k
Rename th
e
se func
t
ions to sho
w
t
h
ey ar
e
chea
p
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
Add a release command
.
Fixes bug #
6
50
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
C
ol
l
ect a
n
d hook
up all job st
a
ts
.
commit
|
commitdiff
|
tree
2007-10-02
Kei
t
h
Rari
c
k
Implemen
t
j
o
b stats command with
s
ome d
u
m
my data
.
commit
|
commitdiff
|
tree
2007-10-02
Keith
R
arick
Make peek w
o
rk for res
e
rv
e
d jobs too
.
commit
|
commitdiff
|
tree
2007-10-02
Kei
t
h Rarick
S
t
a
r
t n
u
mb
e
ring jobs from 1, instead o
f
0
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
Some refactoring
a
n
d
simplif
i
catio
n
.
commit
|
commitdiff
|
tree
2007-10-01
K
e
i
th Rarick
Bug #648 - reserv
e
m
o
re
t
han one job at a t
i
m
e
.
commit
|
commitdiff
|
tree
2007-10-01
K
eith Rari
c
k
Simplify stats data for count of res
e
rved jobs
.
commit
|
commitdiff
|
tree
2007-10-01
K
e
i
th Rar
i
ck
Move job reservation logic into
i
ts own m
o
dule
.
commit
|
commitdiff
|
tree
2007-10-01
Keith Rarick
Mak
e
a layer of abst
r
action fo
r
reservi
n
g
jobs
.
commit
|
commitdiff
|
tree
2007-10-01
Keith Rar
i
c
k
Remove
d
e
b
uggi
n
g p
r
int s
t
atem
e
n
ts
.
commit
|
commitdiff
|
tree
2007-09-27
K
eith
R
arick
Rename "data" to "body
"
i
n
th
e
job
struc
t
.
commit
|
commitdiff
|
tree
2007-09-27
Keit
h
Rarick
Fix and simplify stats c
o
mmand logic
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rar
i
c
k
Detec
t
faster when a waiting
c
lient
h
angs up
.
commit
|
commitdiff
|
tree
2007-09-26
Ke
i
th
Ra
r
i
c
k
Igno
r
e the tags file
.
commit
|
commitdiff
|
tree
2007-09-26
Kei
t
h Rarick
Bugfix: incl
u
d
e
the job body
s
ize in the response
.
commit
|
commitdiff
|
tree
2007-09-26
Keith
R
ar
i
ck
Ch
a
nge the default port to 11300
.
commit
|
commitdiff
|
tree
2007-09-26
Keith
R
a
rick
Do
n
't barf if the clien
t
a
s
ks
for
job stats
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rarick
Maintain lis
t
of
a
ctive connection
s
properly
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rarick
Re
-
add e
v
e
n
ts a
f
t
e
r a timeout
.
commit
|
commitdiff
|
tree
2007-09-26
Keith
R
arick
H
o
o
k up timeout st
a
ts
.
commit
|
commitdiff
|
tree
2007-09-26
Keith R
a
r
ick
Do task #586 - j
o
b timeouts
.
commit
|
commitdiff
|
tree
2007-09-26
K
e
ith Rarick
C
o
llect stats fo
r
workers and producers
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Raric
k
Bugfix for
c
urrent
c
onne
c
t
i
on count
sta
t
.
commit
|
commitdiff
|
tree
2007-09-26
Ke
i
t
h Ra
r
ick
Hook up t
h
e ready
j
ob count stat
.
commit
|
commitdiff
|
tree
2007-09-26
K
e
ith
R
arick
Implement the s
t
at
s
c
o
mmand
.
commit
|
commitdiff
|
tree
2007-09-25
Ke
i
th Rarick
Sta
t
s
f
or curr
e
nt
num
b
er of
reserved jobs
.
commit
|
commitdiff
|
tree
2007-09-25
Kei
t
h R
a
rick
Fix
a
nam
e
and a b
u
g
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Rarick
Use t
h
e
dou
b
ly-linked list for t
h
e
fr
e
e conn pool
a
s
.
.
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Rarick
Collect
m
ost st
a
t
s
.
T
h
is
is
for bug
#
595
.
commit
|
commitdiff
|
tree
2007-09-25
Keit
h
Rar
i
c
k
Hoo
k
up peek
.
Requires some reorgan
i
z
a
tion
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Raric
k
Make a find function fo
r
the
p
eek command
.
commit
|
commitdiff
|
tree
2007-09-25
Kei
t
h Ra
r
ick
Bugfix
e
s for
c
losing and
s
e
tting up connection
s
.
commit
|
commitdiff
|
tree
2007-09-25
K
e
ith Rarick
Remove old commented-out code
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Raric
k
R
emove debugging print st
a
tements
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Rari
c
k
So
m
e
fiddly refact
o
ring
.
commit
|
commitdiff
|
tree
2007-09-25
K
e
ith Ra
r
ic
k
Check ev
e
nt mask
a
gainst the right struct memb
e
r
.
commit
|
commitdiff
|
tree
2007-09-25
Keith
Rari
c
k
Fi
x
wron
g
s
t
ate
when se
n
ding the DE
L
ETED reply
.
commit
|
commitdiff
|
tree
2007-09-25
Keith
R
arick
Fix a
bug tr
a
nsferr
i
ng
j
ob data
.
commit
|
commitdiff
|
tree
2007-09-25
Ke
i
th Rari
c
k
Som
e
refactoring for code robustness
.
commit
|
commitdiff
|
tree
2007-09-25
Keith
R
arick
Allocate co
n
ne
c
tions structs
l
azily
.
commit
|
commitdiff
|
tree
2007-09-25
Keit
h
Rar
i
ck
O
nly pro
c
ess
c
ommands if there
'
s data read
.
commit
|
commitdiff
|
tree
2007-09-25
Keith R
a
rick
Hook up the
d
el
e
t
e command
a
nd fix a bug
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Raric
k
Cl
e
an up those linked list pointers
.
commit
|
commitdiff
|
tree
2007-09-24
K
eith Rarick
R
e
factori
n
g
to make the u
n
i
t
t
e
sts bu
i
l
d
.
commit
|
commitdiff
|
tree
2007-09-24
Keith Ra
r
ick
Don't leak parti
a
l jo
b
s while hangi
n
g up
.
commit
|
commitdiff
|
tree
2007-09-24
K
eith
R
arick
Return abandoned jobs
t
o the q
u
eu
e
.
commit
|
commitdiff
|
tree
2007-09-24
K
eith Ra
r
ick
S
ome refactoring
.
commit
|
commitdiff
|
tree
2007-09-24
Keith Rar
i
ck
Queue up wait
i
ng
c
onnecti
o
ns and giv
e
them jobs
.
commit
|
commitdiff
|
tree
2007-09-24
Keith
R
a
ric
k
Ho
o
k up the re
s
er
v
e command
.
Part of #583
.
commit
|
commitdiff
|
tree
2007-09-22
Kei
t
h
R
a
rick
Gi
v
e the rea
d
y queue a
better varia
b
le name
.
commit
|
commitdiff
|
tree
2007-09-22
K
ei
t
h Rarick
Ho
o
k
u
p part of the reserve command
.
commit
|
commitdiff
|
tree
2007-09-22
Keith
R
a
rick
Th
i
s is a be
t
t
er n
a
me
.
commit
|
commitdiff
|
tree
2007-09-22
Kei
t
h Rarick
Hook up t
h
e put
command with the actual queue
.
commit
|
commitdiff
|
tree
2007-09-22
Kei
t
h R
a
rick
B
e
expl
i
cit that the q
u
e
u
e starts o
u
t empty
.
commit
|
commitdiff
|
tree
2007-09-22
Ke
i
th Rarick
Simplificati
o
n
becau
s
e o
f
fixed-size queu
e
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rari
c
k
Unit te
s
ts an
d
bug fixes for
t
he priority que
u
e
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
Use CUT for unit testing
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
More g
e
ne
r
at
e
d
f
iles to ignore
.
commit
|
commitdiff
|
tree
2007-09-22
K
eith Rarick
Basic gitignore file
.
commit
|
commitdiff
|
tree
2007-09-22
Keith R
a
rick
A
dd the priority queue implementation
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Rarick
Make s
t
ring length macros for
e
asy reading
.
commit
|
commitdiff
|
tree
2007-09-21
Keith
R
arick
Use
fe
w
er magic num
b
e
r
s
in code
.
commit
|
commitdiff
|
tree
2007-09-21
Ke
i
th
Ra
r
ick
Check
s
tats comm
a
nds in
t
he
r
ight order
.
commit
|
commitdiff
|
tree
2007-09-21
K
eith Rarick
Distinguish between stats commands
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Rar
i
ck
Refacto
r
; make it easy
to
send a one-word r
e
ply
.
commit
|
commitdiff
|
tree
2007-09-21
K
e
ith
R
a
rick
F
o
r now, just return
N
OT_FOUND for a del
e
t
e
command
.
commit
|
commitdiff
|
tree
2007-09-21
Keith R
a
ric
k
Fix
t
he reser
v
e command check
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Rarick
Case
f
or the
stats
c
omma
n
d
commit
|
commitdiff
|
tree
2007-09-21
Ke
i
th Rarick
More consistent break vs return use
.
commit
|
commitdiff
|
tree
2007-09-21
Keith
R
arick
Rena
m
e
"done" command to "delete"
.
commit
|
commitdiff
|
tree
2007-09-21
K
eith Rarick
Just return NOT_FO
U
ND fo
r
p
e
ek commands
f
or now
.
commit
|
commitdiff
|
tree
2007-09-21
Ke
i
th Rarick
Init
i
al commit of
Beans
t
alk
.
commit
|
commitdiff
|
tree