TaiyouDong

Results 9 comments of TaiyouDong

when i run the wasm of the project, i found that each game will stop at 256s, and how to fix this problem

thank you for your reply. What bothers me is that there are no errors when the problem arises. The problem is that at the 256*60th frame, the picture frame returned...

My environment is not a standard web environment, so I modified the interface for generating wasm files. Instead of passing in context2d, I got the frame data and returned it...

google提供的这个接口好像并没有确切的从时间点开始计算的,如果用getLastTimeUsed(),在跨过0点之后会把昨天使用的情况也计算下来,如果要计算确切统计时间的话,要自己去维护当前手机使用的时间节点,和上次开机的时间,判断是否需要减去昨天使用的时间,这部分当时还没做,如果你想扩展的话可以参考下。 getFirstTimeStamp()是从本次开机后开始算的,当时用这个为了展示方便算是偷懒了吧2333。 很感谢你能提出这个建议~

发现有类似issue:https://github.com/halo-dev/halo/issues/2863

> /triage duplicate > > Hi @Uyouii ,感谢反馈这个问题。我最近会着手排查具体的原因并尝试优化,建议持续跟进 #2863。 @JohnNiang 感谢答复~,不过两个issue还有一点点区别,https://github.com/halo-dev/halo/issues/2863 看上去是说文章较多时刚启动后运行缓慢,这里是发现无论启动多久,打开文章的等待服务器响应时间和会随着文章总数增长。

目前使用Halo 1.6版本,不会出现上述的问题(早知道不升级服务器配置了 0_0)

@chengfeiyue 紧急的话可以先切换为halo1.6版本,我目前切换成了1.6版本没有这个问题,我想等2.x版本稳定后用官方的升级工具再切换到2.x版本