Skip to content

Commit

Permalink
Vars: mod_stats and db_slave_lag_ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed Jul 17, 2002
1 parent 19e2108 commit 2424018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion sql/mysql/defaults.sql
Expand Up @@ -761,7 +761,6 @@ INSERT INTO vars (name, value, description) VALUES ('min_expiry_comm','10','Lowe
INSERT INTO vars (name, value, description) VALUES ('min_expiry_days','7','Lowest value for duration expiry trigger.');
INSERT INTO vars (name, value, description) VALUES ('minkarma','-25','Minimum karma a user can sink to');
INSERT INTO vars (name, value, description) VALUES ('mod_same_subnet_forbid','1','Forbid users from moderating any comments posted by someone in their subnet?');
INSERT INTO vars (name, value, description) VALUES ('mod_stats','1','Include stats on moderation in the daily admin mail?');
INSERT INTO vars (name, value, description) VALUES ('moderatord_catchup_count','2','The number of times moderatord will loop if replication is used and is too far behind our threshold.');
INSERT INTO vars (name, value, description) VALUES ('moderatord_catchup_sleep','2','The number of seconds moderatord will wait each time it loops if replication is behind.');
INSERT INTO vars (name, value, description) VALUES ('moderatord_debug_info', '1', 'Add in more detailed information into slashd.log for moderation task info. This WILL increase the size by slashd.log quite a bit, so use only if you need to.');
Expand Down
4 changes: 4 additions & 0 deletions sql/mysql/upgrades
Expand Up @@ -515,3 +515,7 @@ INSERT INTO vars (name, value, description) VALUES ('submit_forgetip_minsubid','
# USEPERL LAST UPDATED HERE
# LINUX.COM LAST UPDATED HERE
ALTER TABLE sections DROP isolate;

# For plugins/Stats (ignore if you're not using that plugin):
INSERT INTO vars (name, value, description) VALUES ('db_slave_lag_ignore',10000000,'Bytes of lag between master and slave DB to ignore');

0 comments on commit 2424018

Please sign in to comment.