From d26ea1dd49b6f20d0be1c07ae01e996ff9c68cde Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Tue, 11 May 2021 19:48:40 +0200 Subject: [PATCH] add command to reset redis database to the bulk load script --- eprints1.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/eprints1.pl b/eprints1.pl index 3e5b952..0f92a20 100755 --- a/eprints1.pl +++ b/eprints1.pl @@ -4580,6 +4580,7 @@ sub export_redirect my $fnm_redis= 'utheses_redirect_' . $ot2ut_context .'.redis'; open (REDIS, '>:utf8', $fnm_redis) or die "can't write to [$fnm_redis]"; + print REDIS "FLUSHDB\n"; my $cnt= 0; for(my $i= 0; $i <= $max_eprint_id; $i++) { -- GitLab