会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tslam
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
21
22
23
24
25
26
27
28
29
···
50
下一页
2023年2月3日
手机上某个之前能访问的网页突然不能访问了
摘要: 排查: 1) 在后台确认有无访问日志 若无访问日志, 说明请求没走到后端, 即暂时跟后端无关 2) 清理 应用缓存, 如清理企业微信缓存,后重试
阅读全文
posted @ 2023-02-03 09:32 tslam
阅读(234)
评论(0)
推荐(0)
2023年2月2日
Nginx 命令介绍
摘要: nginx命令介绍 启动 systemctl start nginx 关闭 systemctl stop nginx 重启 systemctl restart nginx man 软件名 可以查看其有的各种参数 有空或者用时再查看其具体含义 nginx -t 检查配置文件格式是否正确 -c : 指定
阅读全文
posted @ 2023-02-02 10:59 tslam
阅读(4486)
评论(0)
推荐(0)
2023年2月1日
Invalid HTTP_HOST header: 'test_project01.com'. The domain name provided is not valid according to RFC 1034/1035.
摘要: 原因: nginx配置文件中起的域名格式不对, 若不能有下划线 参考: 使用 nginx 部署django时,会出现下面的错误 1.首先使用的域名不符合 RFC 1034/1035.规范时,会出现下面的错误(如包含下划线) DisallowedHost at / Invalid HTTP_HOST
阅读全文
posted @ 2023-02-01 11:02 tslam
阅读(311)
评论(0)
推荐(0)
2023年1月30日
Could not find a version that satisfies the requirement 安装包名字 (from versions: )
摘要: 参考: 完美解决 Could not find a version that satisfies the requirement 安装包名字 (from versions: )_戴国进的博客-CSDN博客
阅读全文
posted @ 2023-01-30 08:31 tslam
阅读(42)
评论(0)
推荐(0)
2023年1月28日
如何推定阿里云云服务器ECS
摘要: 参考: 退订方式说明 (aliyun.com)
阅读全文
posted @ 2023-01-28 14:52 tslam
阅读(17)
评论(0)
推荐(0)
2023年1月5日
SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during
摘要: 其中有一种情况就是: 数据太多, 超时了, 把接口时间弄短一点
阅读全文
posted @ 2023-01-05 18:47 tslam
阅读(497)
评论(0)
推荐(0)
orm 对应 sql
摘要: 1 sql中between 对应orm中 _ _range ceshi = xxx.objects.filter(pid=None, is_delete=False, create_time__range=['2023-01-03', '2022-01-05']) select id,name fr
阅读全文
posted @ 2023-01-05 10:18 tslam
阅读(24)
评论(0)
推荐(0)
2023年1月3日
orm 删除数据,然后接着新增,中间需要sleep一会儿吗 sql执行过程/原理
摘要: 1.1 首先明确一下, 删除1条, 1000条, 一万条数据所需要的时间肯定越来越多(但也不是线性增加) 1.2 当删除量1000~2000条, 不用sleep 2.1 需要time.sleep(xxx)的根本原因是 先看图 在你循环执行sql时, 你会把人家MySQL服务器一直占住, 这样别人的某
阅读全文
posted @ 2023-01-03 09:47 tslam
阅读(54)
评论(0)
推荐(0)
2022年12月31日
一个项目前端掉另一个项目后端接口, 不成功
摘要: 只有单独的前端项目在服务器上,才可以掉另一个项目的后台接口. 而若把前端项目build(打包)后合并到后端的这种项目, 不能在前端掉另一个服务器的接口.
阅读全文
posted @ 2022-12-31 11:20 tslam
阅读(29)
评论(0)
推荐(0)
2022年12月30日
request failed to establish a new connection
摘要: 参考1 Python使用requests時遇到Failed to establish a new connection - ExplorerMan - 博客园 (cnblogs.com) 参考2 Python requests“Max retries exceeded with url” error
阅读全文
posted @ 2022-12-30 18:16 tslam
阅读(250)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
50
下一页
公告