04 2021 档案
摘要:import threading import time import logging class TimeoutWrapper(object): def __init__(self, timeout, process): self.timeout = timeout self.timer = No
阅读全文
摘要:import threading import os class LockedFile(object): SETUP_LOGGER_LOCK = threading.Lock() LOGFILES = {} @classmethod def open(cls, fn): with cls.SETUP
阅读全文
摘要:一、Consul Connect tips: -dev 1.service definition counting.json { "service": { "name": "counting", "id": "counting-1", "port": 9003, "check": { "http":
阅读全文

浙公网安备 33010602011771号