a
This commit is contained in:
parent
5a00dc75d7
commit
2d17406799
|
|
@ -398,16 +398,16 @@ const ConfigPanel = ({ currentUser }) => {
|
|||
checkFeasibility()
|
||||
if (isAdmin) {
|
||||
loadSystemStatus()
|
||||
loadBackendStatus()
|
||||
}
|
||||
loadBackendStatus()
|
||||
loadAccountTradingStatus()
|
||||
loadCurrentAccountMeta()
|
||||
|
||||
const timer = setInterval(() => {
|
||||
if (isAdmin) {
|
||||
loadSystemStatus()
|
||||
loadBackendStatus()
|
||||
}
|
||||
loadBackendStatus()
|
||||
loadAccountTradingStatus()
|
||||
loadCurrentAccountMeta()
|
||||
}, 3000)
|
||||
|
|
@ -441,8 +441,8 @@ const ConfigPanel = ({ currentUser }) => {
|
|||
checkFeasibility()
|
||||
if (isAdmin) {
|
||||
loadSystemStatus()
|
||||
loadBackendStatus()
|
||||
}
|
||||
loadBackendStatus()
|
||||
loadAccountTradingStatus()
|
||||
loadCurrentAccountMeta()
|
||||
}, [accountId])
|
||||
|
|
@ -879,10 +879,12 @@ const ConfigPanel = ({ currentUser }) => {
|
|||
<pre style={{ whiteSpace: 'pre-wrap', marginTop: '8px' }}>{String(accountTradingStatus.stderr_tail_error || '')}</pre>
|
||||
</details>
|
||||
) : null}
|
||||
{accountTradingStatus?.supervisord_tail ? (
|
||||
{['FATAL', 'EXITED', 'BACKOFF'].includes(String(accountTradingStatus?.state || '')) ? (
|
||||
<details style={{ marginTop: '8px' }}>
|
||||
<summary style={{ cursor: 'pointer' }}>supervisord 主日志尾部(spawn error 常见原因在这里)</summary>
|
||||
<pre style={{ whiteSpace: 'pre-wrap', marginTop: '8px' }}>{String(accountTradingStatus.supervisord_tail || '')}</pre>
|
||||
<pre style={{ whiteSpace: 'pre-wrap', marginTop: '8px' }}>
|
||||
{String(accountTradingStatus?.supervisord_tail || '(暂无:可能未配置 supervisord logfile 或当前用户无权限读取。可在后端配置 SUPERVISOR_LOGFILE 指向 supervisord 主日志路径)')}
|
||||
</pre>
|
||||
</details>
|
||||
) : null}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user