Monthly Archive: September 2020

重新升级后,reserved 状态的队列数量快速变化为 0 ,查看标准输出日志文件,stdout_logfile = /data/logs/yii-copy-asset-queue-worker-stdout.log。attempt 的值分别等于 140、136。 0

Yii2 queue extension, in the Redis driver, when the info command prints information about the queue status, the analysis of the queued state queue

浏览量: 14 1. Yii2 queue extension, in the Redis driver, when the info command prints information about the queue status, the queue of the reserved state has always existed. Check the system log, there...

sort=-channel_app_task_count 。响应资源列表。查看日志中的 SQL 语句 。符合预期。 0

In Yii 2.0, the sorting of alias fields based on the ActiveDataFilter implementation is sorted

浏览量: 15 1. Check the search model file: /common/logics/weiboWeiBoConnectWebAppUsersarch.php. 7. Edit method entry file: /weibo/rests/weibo_weibo_connect_web_app_user/indexaction.php. Implement the search and sorting of the channel_app_task_count. The inclusion of channel_app_task_count is prerequisite for the channel_app_task field status...

查看终端输出,报错:runtime error: invalid memory address or nil pointer dereference。 0

Runtime Error: Invalid memory address or nil pointer dereference when using the URL shortener API

浏览量: 63 1. Reference URL: https://github.com/unknwon/the-way-to-go_zh_en/blob/master/ebook/09.11.md . Test by browsing the page of http://localhost:8080/. Enter: http://www.destandaard.be in shorten this, and click: Give me the short URL. Loading until timeout. as shown in Figure 1...

在终端调用以下命令来安装 API:go install google.golang.org/api/urlshortener/v1,报错:can't load package: package google.golang.org/api/urlshortener/v1。 0

Invoke the following command in the terminal to install the API: go install google.golang.org/api/urlshortener/v1, report an error: canT load package: package google.golang.org/api/urlshortener/v1

浏览量: 15 1. Invoke the following command in the terminal to install the API: go install google.golang.org/api/urlshortener/v1, error: cant load package: package google.golang.org/api/urlshortener/v1. as shown in Figure 1 2. Reference:https://github.com/googleapis/google-api-go-client/blob/master/GettingStarted.md. Invoke the following commands...