Home
last modified time | relevance | path

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 Dadd_fakesub.lua13 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 Dpublish_status.lua15 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 Dgt-twitch.c1740 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()