Set context timeout to 20s and maybe fix broadcas

t list
This commit is contained in:
lalka2018 2023-11-12 12:58:04 +03:00
parent eb64376c3a
commit f65d790654
2 changed files with 3 additions and 2 deletions

View file

@ -1279,7 +1279,7 @@ class User extends RowModel
foreach($entityIds as $id) { foreach($entityIds as $id) {
$entit = $id > 0 ? (new Users)->get($id) : (new Clubs)->get(abs($id)); $entit = $id > 0 ? (new Users)->get($id) : (new Clubs)->get(abs($id));
if($id > 0 && $entit->isDeleted()) return; if($id > 0 && $entit->isDeleted()) continue;
$returnArr[] = $entit; $returnArr[] = $entit;
} }

View file

@ -141,7 +141,8 @@ class bigPlayer {
} }
] ]
}, },
body: formdata body: formdata,
timeout: 20000,
}) })
u(this.nodes["playButtons"].querySelector(".playButton")).on("click", (e) => { u(this.nodes["playButtons"].querySelector(".playButton")).on("click", (e) => {