Beispiel #1
0
 def mute(type_, proj_name, target_id, user_id):
     key = mute_rds_key(type_, proj_name, target_id)
     rds.sadd(key, user_id)
Beispiel #2
0
 def enqueue(self):
     rds.sadd(PROJECT_BUILD_QUEUE_RDS_KEY, self.queue_member)