check_init - check init response
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2024-08-13 09:14:52 +02:00
parent 52164452b6
commit cc6899fa91
3 changed files with 15 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ function check_redis($group="scheduler_in") {
// TODO json error
}
else {
return $data;
return array("$member" => $data);
}
}
}
@@ -80,6 +80,8 @@ function redis_set($key, $value) {
function redis_remove($key) {
global $REDIS_HOST;
$redis = new Redis();
$redis->connect($REDIS_HOST);
// $redis->auth('password');