Searched refs:chan_key (Results 1 – 3 of 3) sorted by relevance
/dports/www/nginx-full/nchan-1.2.12/src/store/redis/redis-lua-scripts/ |
H A D | add_fakesub.lua | 13 local chan_key = ('%s{channel:%s}'):format(ns, id) 15 local res = redis.pcall('EXISTS', chan_key) 25 cur = redis.call('HINCRBY', chan_key, 'fake_subscribers', num) 27 redis.call('HSET', chan_key, 'last_seen_fake_subscriber', time) 30 redis.call('EXPIRE', chan_key, 5) --something small
|
H A D | publish_status.lua | 15 local chan_key = ch 26 return redis.call('HGET', chan_key, 'subscribers') or 0
|
/dports/multimedia/gnome-twitch/gnome-twitch-0.4.1-155-g8e774a0/src/ |
H A D | gt-twitch.c | 1740 g_autofree gchar* chan_key = NULL; in gt_twitch_fetch_chat_badge() local 1750 chan_key = g_strdup_printf("%s-%s-%s", chan_id, badge_name, version); in gt_twitch_fetch_chat_badge() 1752 if (g_hash_table_contains(priv->badge_table, chan_key)) in gt_twitch_fetch_chat_badge() 1753 ret = g_hash_table_lookup(priv->badge_table, chan_key); in gt_twitch_fetch_chat_badge()
|