version the slave settings instead of time-refresh
commitb5f00f35e37aae1617c16a39bf29fffef8cc90d0
authordormando <dormando@rydia.net>
Mon, 5 Dec 2011 22:15:32 +0000 (5 14:15 -0800)
committerdormando <dormando@rydia.net>
Mon, 5 Dec 2011 22:15:32 +0000 (5 14:15 -0800)
tree6d5cdba9395aa81d39568af8b5b6f1f09218c28c
parent46c880c90625e06bf56c10cd38a6b754fb5809d2
version the slave settings instead of time-refresh

should avoid reparsing the slave settings so often when people typically don't
edit them much.

the gross hack required for easily adding the version means the number will
jump a few times per edit, but that doesn't hurt anything.
lib/MogileFS/Store.pm
lib/MogileFS/Worker/Query.pm