浏览代码

fix(rtc): fix apply-ops schema

rcmerci 2 月之前
父节点
当前提交
56f9426740
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 2
      src/main/frontend/handler/db_based/rtc.cljs
  2. 1 0
      src/main/frontend/worker/rtc/malli_schema.cljs

+ 1 - 2
src/main/frontend/handler/db_based/rtc.cljs

@@ -123,8 +123,7 @@
                                                       with-out-str)]]
                                                       with-out-str)]]
                                            :error)))
                                            :error)))
 
 
-                 :rtc.exception/lock-failed
-                 (js/setTimeout #(<rtc-start! repo) 1000)
+                 :rtc.exception/lock-failed nil
 
 
                  ;; else
                  ;; else
                  nil)]
                  nil)]

+ 1 - 0
src/main/frontend/worker/rtc/malli_schema.cljs

@@ -262,6 +262,7 @@
          [:t-before :int]]
          [:t-before :int]]
         [:map
         [:map
          [:req-id :string]
          [:req-id :string]
+         [:schema-version db-schema/major-schema-version-string-schema]
          [:action :string]
          [:action :string]
          [:profile {:optional true} :boolean]
          [:profile {:optional true} :boolean]
          [:s3-key :string]]]]
          [:s3-key :string]]]]