From 617d7f1c42a00d8bae054666130a250f82fa2795 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 10 Jan 2020 15:19:07 -0600 Subject: [PATCH] Support remote send and receive timeouts --- CHANGELOG.md | 1 + src/containers/Configuration/Configuration.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 747e78b..7a86c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## 1.1.3 * CentOS 8 support +* Support remote send and receive timeouts ## 1.1.2 * Style changes diff --git a/src/containers/Configuration/Configuration.js b/src/containers/Configuration/Configuration.js index 30b1239..2136f49 100644 --- a/src/containers/Configuration/Configuration.js +++ b/src/containers/Configuration/Configuration.js @@ -235,7 +235,7 @@ class Configuration extends IPCContainer { JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value); return (item.label === 'RemoteHostNameOrIp') || (item.label === 'RemoteMaxConnections') ? isRemoteMount : - (item.label === 'RemotePort') || (item.label === 'RemoteToken') ? + (item.label === 'RemoteReceiveTimeoutSeconds') || (item.label === 'RemoteSendTimeoutSeconds') || (item.label === 'RemotePort') || (item.label === 'RemoteToken') ? isRemoteMount || enableRemoteMount : (item.label === 'EnableRemoteMount') ? !isRemoteMount : @@ -342,4 +342,4 @@ const mapDispatchToProps = dispatch => { } }; -export default connect(mapStateToProps, mapDispatchToProps)(Configuration); \ No newline at end of file +export default connect(mapStateToProps, mapDispatchToProps)(Configuration);