Lines Matching defs:ttl
453 char* key, uint8_t* data, size_t data_len, time_t ttl)
464 * - "SET " + key + " %b EX " + ttl
465 * older redis 2.0.0 was "SETEX " + key + " " + ttl + " %b"
474 } else if(ttl == 0) {
483 /* add expired ttl time to redis ttl to avoid premature eviction of key */
484 ttl += env->cfg->serve_expired_ttl;
485 verbose(VERB_ALGO, "redis_store %s (%d bytes) with ttl %u",
486 key, (int)data_len, (unsigned)(uint32_t)ttl);
489 (unsigned)(uint32_t)ttl);