We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a6068 commit 486cbfcCopy full SHA for 486cbfc
1 file changed
wp/wp-config.php
@@ -124,11 +124,17 @@
124
define('DB_FILE', 'wp-sqlite-s3.sqlite');
125
}
126
127
-// Auto-cron is can cause db race conditions on these urls, don't bother with it.
+// Auto-cron can cause db race conditions on these urls, don't bother with it.
128
if (strpos($_SERVER['REQUEST_URI'], 'wp-admin') !== false || strpos($_SERVER['REQUEST_URI'], 'wp-login') !== false) {
129
define('DISABLE_WP_CRON', true);
130
131
132
+// Increase time between cron runs (2 hours) to reduce DB writes.
133
+define('WP_CRON_LOCK_TIMEOUT', 7200);
134
+
135
+// Limit revisions.
136
+define('WP_POST_REVISIONS', 3);
137
138
/* That's all, stop editing! Happy publishing. */
139
140
/** Absolute path to the WordPress directory. */
0 commit comments