修改 nginx body 限制,服务重启延迟时间

This commit is contained in:
whyour
2023-07-18 15:30:43 +08:00
parent db94cd3799
commit 4e091b0c3e
6 changed files with 7 additions and 15 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ const CheckUpdate = ({ socketMessage, systemInfo }: any) => {
<Countdown
className="inline-countdown"
format="ss"
value={Date.now() + 1000 * 15}
value={Date.now() + 1000 * 30}
/>
</span>
@@ -147,7 +147,7 @@ const CheckUpdate = ({ socketMessage, systemInfo }: any) => {
});
setTimeout(() => {
window.location.reload();
}, 14000);
}, 30000);
})
.catch((error: any) => {
console.log(error);
+2 -2
View File
@@ -136,7 +136,7 @@ const Other = ({
<Countdown
className="inline-countdown"
format="ss"
value={Date.now() + 1000 * 15}
value={Date.now() + 1000 * 30}
/>
</span>
@@ -145,7 +145,7 @@ const Other = ({
});
setTimeout(() => {
window.location.reload();
}, 14000);
}, 30000);
})
.catch((error: any) => {
console.log(error);
+1 -1
View File
@@ -239,7 +239,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
</div>
<Avatar size={128} shape="square" icon={<UserOutlined />} src={avatar} />
<ImgCrop rotate>
<ImgCrop rotationSlider>
<Upload
method="put"
showUploadList={false}