Forráskód Böngészése

fix(rtc): fix apply-ops schema

rcmerci 2 hónapja
szülő
commit
56f9426740

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

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

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

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