瀏覽代碼

去掉限流注解

zhangdongming 3 年之前
父節點
當前提交
6c3f7c8610
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Controller/ShadowController.py

+ 0 - 1
Controller/ShadowController.py

@@ -58,7 +58,6 @@ def generate_utk(request):
 
 
 # 设备影子更新
-@ratelimit(key='ip', rate='1/10m', block=True)
 def update_device_shadow(request):
     request.encoding = 'utf-8'
     if request.method == 'POST':