ミラー元
https://github.com/rspamd/rspamd.git
前回の同期 2024-08-27 17:55:15 +02:00
[Fix] Restore redis runtime state
このコミットが含まれているのは:
コミット
ccee4b3bee
@ -767,14 +767,13 @@ rspamd_redis_connected (redisAsyncContext *c, gpointer r, gpointer priv)
|
||||
}
|
||||
|
||||
rt->learned = val;
|
||||
|
||||
rt->conn_state = RSPAMD_REDIS_CONNECTED;
|
||||
REF_RETAIN (rt);
|
||||
|
||||
msg_debug_task ("connected to redis server, tokens learned for %s: %uL",
|
||||
rt->redis_object_expanded, rt->learned);
|
||||
rspamd_upstream_ok (rt->selected);
|
||||
/* This also set state to terminated state */
|
||||
rspamd_session_remove_event (task->s, rspamd_redis_fin, rt);
|
||||
rt->conn_state = RSPAMD_REDIS_CONNECTED;
|
||||
}
|
||||
else {
|
||||
/* This could be caused by removing redis context forcefully */
|
||||
|
読み込み中…
新しいイシューから参照
ユーザーをブロックする