file_manager: Increase extract_metadata timeout to 10 seconds

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-01-02 06:23:17 -05:00
parent 14b5384572
commit 67f5b32d84
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ class MetadataStorage:
scmd = shell_command.build_shell_command( scmd = shell_command.build_shell_command(
cmd, self._handle_script_response) cmd, self._handle_script_response)
self.script_response = None self.script_response = None
await scmd.run(timeout=4.) await scmd.run(timeout=10.)
if self.script_response is None: if self.script_response is None:
raise self.server.error("Unable to extract metadata") raise self.server.error("Unable to extract metadata")
path = self.script_response['file'] path = self.script_response['file']