Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6186b2a

Browse files
committed
Remove Redis Option
1 parent683b15a commit6186b2a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

‎apache2/persist_dbm.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,9 +899,7 @@ static int collections_remove_stale_ex(int db_option, modsec_rec *msr, const cha
899899
char**keys;
900900
apr_time_tnow=apr_time_sec(msr->request_time);
901901
inti;
902-
903-
if(db_option==DB_OPT_REDIS)
904-
return1;
902+
905903
//---------------------------------
906904
//AGMDB
907905
//---------------------------------

‎apache2/persist_dbm.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
#include"apr_general.h"
1919
#include"modsecurity.h"
2020

21-
#defineDB_OPT_AGMDB 2
22-
#defineDB_OPT_REDIS 1
21+
#defineDB_OPT_AGMDB 1
2322
#defineDB_OPT_ORIGIN 0
2423
structagmdb_handle_entry{
2524
constchar*col_name;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp