From e3f8f70766e737faea2d53adddf0b70fc72b06a2 Mon Sep 17 00:00:00 2001 From: fatchan Date: Tue, 28 Jan 2020 22:55:23 +1100 Subject: [PATCH] remove cache clear from default task (for now) so wipe doesnt conflict and close redis connection --- gulpfile.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 4178fd67..75751ac5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -55,8 +55,7 @@ async function wipe() { //wipe db shit await Promise.all([ - cache.deletePattern('board_*'), - cache.deletePattern('banners_*'), + cache.deletePattern('*'), Captchas.deleteAll(), Ratelimits.deleteAll(), Accounts.deleteAll(), @@ -195,7 +194,7 @@ function scripts() { .pipe(gulp.dest(paths.scripts.dest)); } -const build = gulp.parallel(cache, css, scripts, images, gulp.series(deletehtml, custompages)); +const build = gulp.parallel(css, scripts, images, gulp.series(deletehtml, custompages)); const reset = gulp.parallel(wipe, build); const html = gulp.series(deletehtml, custompages);