Code

threshold: Don't register missing/write callbacks unless we have thresholds.
authorSebastian Harl <sh@tokkee.org>
Fri, 17 Jun 2011 07:25:05 +0000 (09:25 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 17 Jun 2011 07:28:54 +0000 (09:28 +0200)
commite4517555fbb51d317ac4ca76dc8cfb3b8c1f5410
tree043d037047400624ba5a270694803f396e829ad9
parent27769fc777da38494c3f8e2297af9099fbec0bc0
threshold: Don't register missing/write callbacks unless we have thresholds.

The checking is fairly expensive, so don't do that unless really necessary.
src/threshold.c