remove cache clear from default task (for now) so wipe doesnt conflict and close redis connection

merge-requests/208/head
fatchan 5 years ago
parent 2a42b1d78f
commit e3f8f70766
  1. 5
      gulpfile.js

@ -55,8 +55,7 @@ async function wipe() {
//wipe db shit //wipe db shit
await Promise.all([ await Promise.all([
cache.deletePattern('board_*'), cache.deletePattern('*'),
cache.deletePattern('banners_*'),
Captchas.deleteAll(), Captchas.deleteAll(),
Ratelimits.deleteAll(), Ratelimits.deleteAll(),
Accounts.deleteAll(), Accounts.deleteAll(),
@ -195,7 +194,7 @@ function scripts() {
.pipe(gulp.dest(paths.scripts.dest)); .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 reset = gulp.parallel(wipe, build);
const html = gulp.series(deletehtml, custompages); const html = gulp.series(deletehtml, custompages);

Loading…
Cancel
Save