Support remote send and receive timeouts

This commit is contained in:
2020-01-10 15:19:07 -06:00
parent e7ee28624c
commit 617d7f1c42
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
# Changelog # Changelog
## 1.1.3 ## 1.1.3
* CentOS 8 support * CentOS 8 support
* Support remote send and receive timeouts
## 1.1.2 ## 1.1.2
* Style changes * Style changes

View File

@@ -235,7 +235,7 @@ class Configuration extends IPCContainer {
JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value); JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value);
return (item.label === 'RemoteHostNameOrIp') || (item.label === 'RemoteMaxConnections') ? return (item.label === 'RemoteHostNameOrIp') || (item.label === 'RemoteMaxConnections') ?
isRemoteMount : isRemoteMount :
(item.label === 'RemotePort') || (item.label === 'RemoteToken') ? (item.label === 'RemoteReceiveTimeoutSeconds') || (item.label === 'RemoteSendTimeoutSeconds') || (item.label === 'RemotePort') || (item.label === 'RemoteToken') ?
isRemoteMount || enableRemoteMount : isRemoteMount || enableRemoteMount :
(item.label === 'EnableRemoteMount') ? (item.label === 'EnableRemoteMount') ?
!isRemoteMount : !isRemoteMount :
@@ -342,4 +342,4 @@ const mapDispatchToProps = dispatch => {
} }
}; };
export default connect(mapStateToProps, mapDispatchToProps)(Configuration); export default connect(mapStateToProps, mapDispatchToProps)(Configuration);