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
K
eith
R
arick
Add argument-free version of p
e
ek
.
commit
|
commitdiff
|
tree
2007-10-18
K
e
ith Raric
k
Wh
o
ops
.
commit
|
commitdiff
|
tree
2007-10-16
K
e
ith Rarick
More useful compiler flags
.
commit
|
commitdiff
|
tree
2007-10-16
K
e
i
t
h
Rarick
Make beanstalk
be a good
l
i
ttl
e
daemon
.
commit
|
commitdiff
|
tree
2007-10-16
Keith
Rarick
Mo
r
e
ex
p
l
i
c
i
t wordin
g
on a comment
.
commit
|
commitdiff
|
tree
2007-10-16
Keith Ra
r
ick
Just
d
on't ru
n
beanstalk as root
.
commit
|
commitdiff
|
tree
2007-10-15
Keith
Rarick
Keep a count
of u
r
gent jobs
.
commit
|
commitdiff
|
tree
2007-10-15
K
eith R
a
rick
Don't set the job state if queue i
n
se
r
t
i
on
f
ai
l
ed
.
commit
|
commitdiff
|
tree
2007-10-12
Keith R
a
rick
Make it build
on Mac OS X
.
commit
|
commitdiff
|
tree
2007-10-11
Keith Rarick
Bury orphaned
jobs i
f
the
q
ueue is full
.
commit
|
commitdiff
|
tree
2007-10-11
Keith
Rarick
Mak
e
peek and stats
w
ork with buried job
s
too
.
commit
|
commitdiff
|
tree
2007-10-11
Kei
t
h Rarick
Hook up the o
t
h
e
r command c
o
unte
r
stats
.
commit
|
commitdiff
|
tree
2007-10-11
Keith Rarick
Implement
"
kick" command
.
commit
|
commitdiff
|
tree
2007-10-11
Kei
t
h
R
ar
i
ck
I
mplement "bury"
c
omm
a
n
d
.
commit
|
commitdiff
|
tree
2007-10-04
Keith Rarick
H
a
ndle
p
riority
o
verflow
w
i
th satura
t
ion
.
commit
|
commitdiff
|
tree
2007-10-02
Ke
i
th
Rarick
Require the
p
rio
r
ity in
reserve
c
om
m
ands
.
commit
|
commitdiff
|
tree
2007-10-02
K
e
ith Rarick
Set priority when r
e
leasing a job
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rari
c
k
Rename these functi
o
ns
t
o
show they
a
re ch
e
ap
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
Add a release command
.
Fixes bug #650
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
C
o
llect and hook up a
l
l job stats
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
Implement jo
b
stats command w
i
th s
o
me d
u
mmy data
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Ra
r
ick
Make peek wor
k
fo
r
reserved jobs too
.
commit
|
commitdiff
|
tree
2007-10-02
Keith Rarick
Start numbering j
o
bs from 1,
i
n
s
tead of 0
.
commit
|
commitdiff
|
tree
2007-10-02
Keith
Rarick
Some refact
o
ring a
n
d simplificati
o
n
.
commit
|
commitdiff
|
tree
2007-10-01
Keith Rari
c
k
Bug #648 -
r
eser
v
e m
o
r
e
t
h
an one job
at a time
.
commit
|
commitdiff
|
tree
2007-10-01
Keith Rari
c
k
Simplify stats data
f
or count of res
e
rv
e
d jobs
.
commit
|
commitdiff
|
tree
2007-10-01
Kei
t
h
R
arick
Move job reserva
t
i
on logic
i
n
t
o its own module
.
commit
|
commitdiff
|
tree
2007-10-01
Keith
Rar
i
c
k
Make
a
layer
of abstr
a
ction fo
r
reserving j
o
bs
.
commit
|
commitdiff
|
tree
2007-10-01
Keith Rarick
Remove debugging
print s
t
atements
.
commit
|
commitdiff
|
tree
2007-09-27
K
e
i
t
h
Rarick
Renam
e
"
dat
a
" to "body
"
in the job struct
.
commit
|
commitdiff
|
tree
2007-09-27
Keith Rari
c
k
Fix and simplify stats comm
a
nd logic
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Ra
r
ick
Dete
c
t faster when
a
waiting
cli
e
nt hangs
u
p
.
commit
|
commitdiff
|
tree
2007-09-26
Keith
R
arick
I
g
nore the t
a
gs f
i
le
.
commit
|
commitdiff
|
tree
2007-09-26
Kei
t
h
R
arick
Bugf
i
x:
i
ncl
u
de
t
he job body size in the response
.
commit
|
commitdiff
|
tree
2007-09-26
Kei
t
h Rarick
Change
the
d
efault port to 11300
.
commit
|
commitdiff
|
tree
2007-09-26
K
eith R
a
ri
c
k
Don't b
a
rf if the cl
i
ent
asks for job stats
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rarick
Maintai
n
l
ist of active connections properly
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rarick
Re-add events a
f
t
er
a
t
imeo
u
t
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rar
i
ck
Hook up timeout
s
tat
s
.
commit
|
commitdiff
|
tree
2007-09-26
Keith Rarick
D
o
t
a
sk #586 - job timeout
s
.
commit
|
commitdiff
|
tree
2007-09-26
Keith R
a
r
i
ck
Collect stats for
workers
and produ
c
ers
.
commit
|
commitdiff
|
tree
2007-09-26
K
e
ith Rarick
Bug
f
ix for current connection
c
ount stat
.
commit
|
commitdiff
|
tree
2007-09-26
K
eith
R
arick
Hook up the read
y
jo
b
count stat
.
commit
|
commitdiff
|
tree
2007-09-26
Ke
i
th Rarick
I
m
plement
the stats comm
a
nd
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Rarick
Stats for current number of reserved jobs
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Rari
c
k
Fix a
n
a
me
a
n
d a bug
.
commit
|
commitdiff
|
tree
2007-09-25
K
eith Rarick
Us
e
the do
u
b
ly-linked list fo
r
the f
r
ee conn
pool as
.
.
.
commit
|
commitdiff
|
tree
2007-09-25
Keith R
a
r
ick
Collec
t
mo
s
t stats
.
T
his
i
s for
bug
#
595
.
commit
|
commitdiff
|
tree
2007-09-25
Keith
R
a
rick
Hook
u
p
pe
e
k
.
Require
s
some
r
eo
r
ganization
.
commit
|
commitdiff
|
tree
2007-09-25
Ke
i
t
h
R
a
r
i
ck
M
a
ke a f
i
nd function for the pee
k
comman
d
.
commit
|
commitdiff
|
tree
2007-09-25
Kei
t
h Rarick
Bugfixe
s
for c
l
osing and setting up
connections
.
commit
|
commitdiff
|
tree
2007-09-25
Keith
Rar
i
ck
Remove old commen
t
ed-out cod
e
.
commit
|
commitdiff
|
tree
2007-09-25
K
e
ith Rarick
Remo
v
e debugging print
s
t
ateme
n
ts
.
commit
|
commitdiff
|
tree
2007-09-25
K
e
i
th Rarick
Som
e
f
i
ddly refactoring
.
commit
|
commitdiff
|
tree
2007-09-25
Keith R
a
ri
c
k
Chec
k
e
v
e
n
t mask agains
t
the
r
ight struct member
.
commit
|
commitdiff
|
tree
2007-09-25
K
eith R
a
rick
Fix wrong st
a
te when sending the
DELETED reply
.
commit
|
commitdiff
|
tree
2007-09-25
Kei
t
h Rarick
Fix
a
bug
t
r
a
n
s
f
erring
j
o
b da
t
a
.
commit
|
commitdiff
|
tree
2007-09-25
Ke
i
th
Rarick
Some r
e
f
a
ctoring for cod
e
robustness
.
commit
|
commitdiff
|
tree
2007-09-25
Keit
h
Rarick
Allocate connec
t
ions
structs l
a
zily
.
commit
|
commitdiff
|
tree
2007-09-25
Kei
t
h Rarick
O
n
ly process c
o
mmands if ther
e
's data read
.
commit
|
commitdiff
|
tree
2007-09-25
Kei
t
h Rar
i
ck
Hook up the del
e
te command an
d
f
i
x a bug
.
commit
|
commitdiff
|
tree
2007-09-25
Keith Rarick
Clean
up those l
i
nke
d
list
p
ointers
.
commit
|
commitdiff
|
tree
2007-09-24
Keith Rarick
Refactoring to make the
unit tests build
.
commit
|
commitdiff
|
tree
2007-09-24
Kei
t
h Rarick
Don't le
a
k parti
a
l jobs whil
e
hanging up
.
commit
|
commitdiff
|
tree
2007-09-24
Keith Rarick
R
e
turn
a
ba
n
done
d
jobs to the queue
.
commit
|
commitdiff
|
tree
2007-09-24
Keith Ra
r
ick
Some refactoring
.
commit
|
commitdiff
|
tree
2007-09-24
Ke
i
th
R
a
r
ick
Queue up wait
i
ng connections and
give the
m
jo
b
s
.
commit
|
commitdiff
|
tree
2007-09-24
Keith Rarick
H
o
ok up
t
he reserve command
.
Part of #5
8
3
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
Give
t
he
r
eady queue
a bette
r
variable name
.
commit
|
commitdiff
|
tree
2007-09-22
K
eith Rarick
Hook up part of the re
s
erve com
m
a
nd
.
commit
|
commitdiff
|
tree
2007-09-22
Keit
h
Rarick
Th
i
s
is a
b
ette
r
name
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
Hook
u
p the put
com
m
and
w
ith the
a
ctual queue
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rari
c
k
Be explicit that the queue sta
r
ts out empty
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
Simplification b
e
cause of fixed-si
z
e queue
.
commit
|
commitdiff
|
tree
2007-09-22
Ke
i
th Rarick
Unit
tests and bug
f
ixes for the
p
rior
i
ty queue
.
commit
|
commitdiff
|
tree
2007-09-22
Keith
R
ar
i
ck
U
s
e
C
U
T
for
unit t
e
s
t
ing
.
commit
|
commitdiff
|
tree
2007-09-22
Keith
Rarick
Mor
e
gener
a
ted files to
i
gno
r
e
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
B
asic gitignore
f
ile
.
commit
|
commitdiff
|
tree
2007-09-22
Keith Rarick
Add th
e
pr
i
ority queu
e
implementation
.
commit
|
commitdiff
|
tree
2007-09-21
Keith
R
a
ric
k
M
ake string leng
t
h macros for easy reading
.
commit
|
commitdiff
|
tree
2007-09-21
K
e
i
t
h
Rar
i
ck
Use fewer magic num
b
ers in code
.
commit
|
commitdiff
|
tree
2007-09-21
Keit
h
Ra
r
i
ck
Check stats commands in the r
i
ght
ord
e
r
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Rarick
Distinguis
h
between
s
tats
co
m
mands
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Ra
r
ick
Refactor;
make it easy to send a one-word rep
l
y
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Rarick
For now, just
return NOT_F
O
UND for a delete command
.
commit
|
commitdiff
|
tree
2007-09-21
Keith R
a
rick
Fix the
rese
r
ve command
che
c
k
.
commit
|
commitdiff
|
tree
2007-09-21
Ke
i
t
h
R
arick
Case for th
e
stats
comma
n
d
commit
|
commitdiff
|
tree
2007-09-21
Keith Raric
k
More c
o
nsistent break vs return u
s
e
.
commit
|
commitdiff
|
tree
2007-09-21
K
eith R
a
rick
Rename "done" com
m
and
to "
d
e
l
et
e
"
.
commit
|
commitdiff
|
tree
2007-09-21
Keit
h
Rarick
Just return NOT_FOUND f
o
r pe
e
k commands
for
now
.
commit
|
commitdiff
|
tree
2007-09-21
Keith Ra
r
i
ck
Initial commit of
Beanstalk
.
commit
|
commitdiff
|
tree