11 2021 档案
摘要:发现了一个问题,简单记录一下:1. Django后端实现一个FIFO的消息队列 2. 通过HTTP写入正常 3. 通过HTTP读取正常 1. 通过HTTP写入正常 2. 通过websocket读取为None 3. 再次通过HTTP读取正常 疑问: http 数据跟websocket请求数据不通?后端
阅读全文
摘要:import random from queue import Queue start_time = time.time() # [360, 14, -0.26727742101246454], [361, 13, 0.6103671964150552] ... 0: X轴 1: Y轴 2: 振幅
阅读全文
摘要:import random import threading from datetime import datetime from queue import Queue class SingletonType: _instance_lock = threading.Lock() def __new_
阅读全文
摘要:选择适合自己版本的frp版本 选择适合自己的frp版本 https://github.com/fatedier/frp/releases wget https://github.com/fatedier/frp/releases/download/v0.38.0/frp_0.38.0_linux_a
阅读全文
摘要:version: '3' services: yapi-web: image: nightz/yapi:latest container_name: yapi-web restart: always ports: - "10031:3000" environment: - YAPI_ADMIN_AC
阅读全文