Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

处理旧的稿件,一直出现"请不要重复操作"! #17

Open
zhong820290 opened this issue Sep 23, 2023 · 5 comments
Open

处理旧的稿件,一直出现"请不要重复操作"! #17

zhong820290 opened this issue Sep 23, 2023 · 5 comments

Comments

@zhong820290
Copy link

image

我尝试修改了配置文件中的PostExpiredTime为0,后面又改成int 的最大值,结果和之前默认值3显示的一样,请问这个值是单位是天数还是什么单位,如果我想让稿件一直不过期,该如何设置呢??

@chr233
Copy link
Owner

chr233 commented Sep 24, 2023

单位是天数,不支持设定为0,如果想禁用这个功能,把这个值调大一点,或者把 ExpiredPostTask 设定为无法执行的表达式

@zhong820290
Copy link
Author

单位是天数,不支持设定为0,如果想禁用这个功能,把这个值调大一点,或者把 ExpiredPostTask 设定为无法执行的表达式

例如随便改个值吗?这样ExpiredPostTask:saldkj,或者是把这个ExpiredPostTask健去掉?

@chr233
Copy link
Owner

chr233 commented Sep 24, 2023

单位是天数,不支持设定为0,如果想禁用这个功能,把这个值调大一点,或者把 ExpiredPostTask 设定为无法执行的表达式

例如随便改个值吗?这样ExpiredPostTask:saldkj,或者是把这个ExpiredPostTask健去掉?

不能随便改,设置项是crontab表达式,就是清理稿件任务的运行周期,改成一年一次以上就行了吧

@chr233
Copy link
Owner

chr233 commented Sep 25, 2023

请不要重复操作应该是bug,回头检查一下代码

@chr233
Copy link
Owner

chr233 commented Nov 29, 2023

应该修好了,如果稿件过期会提示过期,而不是显示重复操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants