mirror of
https://github.com/immich-app/immich.git
synced 2025-11-18 13:32:37 +09:00
Fix server crash on bad file operation and other optimizations (#291)
* Fixed issue with generating thumbnail for video with 0 length cause undefined file and crash the server * Added all file error handling operation * Temporarily disabled WebSocket on the web because receiving a new upload event doesn't put the new file in the correct place. * Cosmetic fixed on the info panel
This commit is contained in:
@@ -84,7 +84,7 @@ export async function fileUploader(asset: File, accessToken: string) {
|
||||
request.upload.onload = () => {
|
||||
setTimeout(() => {
|
||||
uploadAssetsStore.removeUploadAsset(deviceAssetId);
|
||||
}, 2500);
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
// listen for `error` event
|
||||
|
||||
Reference in New Issue
Block a user