Results 8 comments of yucui xiao

on mac os, the code like this. ``` void ClickWithModify(CGEventFlags type) { CGEventRef click1_down = CGEventCreateMouseEvent( NULL, kCGEventLeftMouseDown, CGPointMake(250, 250), kCGMouseButtonLeft ); // Left button up at 250x250 CGEventRef click1_up...

数量连接过多后,就没法创建新的连接了。打不开Prometheus连接 我后面再找时间看下。

我用go 1.18去编译的。这个有没有影响呢

更新代码后,内存泄漏的问题没有了。可能是那个问题造成的

use node-mpv-2 https://www.npmjs.com/package/node-mpv-2 const mpvAPI = require('node-mpv-2')

先检查下防火墙吧,看下端口是不是允许

也有这个问题 2023-08-17T08:16:56.249253174Z 2023-08-17 08:16:56.247 WARN 1 --- [tp1966250569-70] org.eclipse.jetty.server.HttpChannel : /onlinePreview 2023-08-17T08:16:56.249279786Z 2023-08-17T08:16:56.249283716Z org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -53 2023-08-17T08:16:56.249286759Z at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)...

看情况应该是url必须带有文件类型后缀,不然不行, https://gitee.com/kekingcn/file-online-preview/wikis/pages?sort_id=1504450&doc_id=106093 文档上说明了下,url后面加个fullfilename就可以了 `var originUrl = 'http://127.0.0.1:8080/filedownload?fileId=1'; //要预览文件的访问地址 var previewUrl = originUrl + '&fullfilename=test.txt' window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(previewUrl));`