Skip to content

Commit

Permalink
Set context timeout to 20s and maybe fix broadcas
Browse files Browse the repository at this point in the history
t list
  • Loading branch information
mrilyew committed Nov 12, 2023
1 parent eb64376 commit f65d790
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Web/Models/Entities/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ function getBroadcastList(string $filter = "friends", bool $shuffle = false)
foreach($entityIds as $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;
}

Expand Down
3 changes: 2 additions & 1 deletion Web/static/js/al_music.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ class bigPlayer {
}
]
},
body: formdata
body: formdata,
timeout: 20000,
})

u(this.nodes["playButtons"].querySelector(".playButton")).on("click", (e) => {
Expand Down

0 comments on commit f65d790

Please sign in to comment.