logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ngx_http_process_user_agent

ngx_http_process_user_agent

#nginx
main-进入工作状态

进入工作状态

#nginx
main-非信号发送模式 初始化

main-工作模式 初始化。

#nginx
nginx-1.24.0-main函数

【代码】nginx-1.24.0-main函数。

#nginx
main-初始化

【代码】main-初始化。

#nginx
Ubuntu 下 nginx-1.24.0 源码分析 - ngx_log_errno 函数

缓冲区内存需预先分配,写入时会逐步移动指针(通过buf++操作),直到达到last的限制buf返回值是u_char *,即更新后的buf指针,指向缓冲区中下一个可写入的位置,方便链式调用。

#nginx#运维
spring 事务超时

再最后一条DML语句之前,休眠20秒, 会计入 timeout 时间之内,事务超时,回滚。如果最后一条DML语句后面还有很多业务逻辑,这些业务代码执行的时间不被计入超时时间。表示超过10秒如果该事务中所有的DML语句还没有执行完毕的话,最终结果会选择回滚。这里睡眠的 20 秒在最后一条DML语句之后,不计入 timeout 时间之内。表示设置事务的超时时间为10秒。默认值-1,表示没有时间限制。

文章图片
#spring#java#后端
dom4j 解析 mybatis mapper xml 文件

【代码】dom4j 解析 mybatis mapper xml 文件。

文章图片
#mybatis#xml#java
springboot web starter

1.spring-boot-starter-web 中的 spring-boot-starter 引入springboot 核心依赖。spring-boot-starter-web 引入web场景需要的依赖(2部分)引入springboot核心依赖(没有web的相关依赖)spring-boot-starter-web 中的。2.关于web的依赖。

文章图片
#spring boot#java#spring
springboot_MybatisPlus_id自增

我在book表中 id字段设置为自增,而MyBatisPlus默认使用 雪花算法。在application.yml配置文件中配置。testSave运行报错。

#spring boot
    共 16 条
  • 1
  • 2
  • 请选择