top-think / top-think/think-orm

workerman运行一段时间后报Error while sending QUERY packet

Open
#148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
437
Forks
188
PR merge metrics
No merged PRs in 30d

Description

已经设置了'break_reconnect' => true, 网上查了下。应该是长时间不通讯断开了连接,但是tp不应该自动处理这种问题吗?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is identified. Start by reproducing the Error while sending QUERY packet after a long idle period with Workerman, then trace the ORM's database connection and reconnect handling. Done means determining whether stale connections are handled automatically and fixing or clearly documenting the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.