diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/slowlog.h | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/slowlog.h')
| -rw-r--r-- | examples/redis-unstable/src/slowlog.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/examples/redis-unstable/src/slowlog.h b/examples/redis-unstable/src/slowlog.h deleted file mode 100644 index 2e28420..0000000 --- a/examples/redis-unstable/src/slowlog.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2009-Present, Redis Ltd. - * All rights reserved. - * - * Licensed under your choice of (a) the Redis Source Available License 2.0 - * (RSALv2); or (b) the Server Side Public License v1 (SSPLv1); or (c) the - * GNU Affero General Public License v3 (AGPLv3). - */ - -#ifndef __SLOWLOG_H__ -#define __SLOWLOG_H__ - -#define SLOWLOG_ENTRY_MAX_ARGC 32 -#define SLOWLOG_ENTRY_MAX_STRING 128 - -/* This structure defines an entry inside the slow log list */ -typedef struct slowlogEntry { - robj **argv; - int argc; - long long id; /* Unique entry identifier. */ - long long duration; /* Time spent by the query, in microseconds. */ - time_t time; /* Unix time at which the query was executed. */ - sds cname; /* Client name. */ - sds peerid; /* Client network address. */ -} slowlogEntry; - -/* Exported API */ -void slowlogInit(void); -void slowlogPushEntryIfNeeded(client *c, robj **argv, int argc, long long duration); - -#endif /* __SLOWLOG_H__ */ |
