[Symfony\Component\Process\Exception\ProcessTimedOutException] exceeded the timeout of 300 seconds.
解决办法:修改COMPOSER_PROCESS_TIMEOUT,默认是300秒,改大这个时间即可
# export COMPOSER_PROCESS_TIMEOUT=3600
# composer update
[Symfony\Component\Process\Exception\ProcessTimedOutException] exceeded the timeout of 300 seconds.
解决办法:修改COMPOSER_PROCESS_TIMEOUT,默认是300秒,改大这个时间即可
# export COMPOSER_PROCESS_TIMEOUT=3600
# composer update
docker endpoint for “default” not found
Error invoking remote method ‘desktop-go-backend’: Error: {“message”:”retrieving settings: loading settings: parsing JSON: EOF”}
解决办法:
For Windows Users
- Delete
.docker
directory. Which exists on PATHC:\Users\your-username\.docker
- Restart docker.
Thanks man, it’s works to me!
tail ---disable-inotify -f ok.log
加个---disable-inotify
就能解决 注意是3条“-
”
幂等:f(x)=f(f(x))
方案1:select + insert/update 唯一索引
方案2:直接insert 唯一索引冲突后update
方案3:状态机,例如:status 1已处理 0 未处理
方案4:放重复表
方案4:token命令 成功后删除token
方案6:悲观锁(如select … for update) 还是判断status字段值,有性能问题
方案7:乐观锁,不会上锁
方案8:分布式锁 可以使用redis set ex nx