Skip to content

Instantly share code, notes, and snippets.

View redis_distributed_lock
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# create by oldman
# Date: 2019/8/30
import uuid
from redis import ConnectionPool
from redis import StrictRedis
import time