walkor / walkor/webman

restart 报错了 Class 'support\Container' not found in webman/redis-queue/src/Process/Consumer.php:56

Open
#308 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.7k
Forks
251
PR merge metrics
No merged PRs in 30d

Description

restart 报错了

Class 'support\Container' not found in webman/redis-queue/src/Process/Consumer.php:56

` 'redis_consumer' => [
'handler' => Webman\RedisQueue\Process\Consumer::class,
'count' => 8, // 这里设置了8个进程共同消费
'constructor' => [
// 消费者类目录
'consumer_dir' => app_path() . '/queue/redis'
]
]`

就这个代码 写了出问题了 我以前运行好好的 后来不知道怎么就报错了

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the redis_consumer configuration and webman/redis-queue/src/Process/Consumer.php:56, then check how the restart process loads support\Container. Confirm the package and framework versions involved, reproduce the restart failure, and consider the issue done when this configuration restarts without the Class 'support\Container' not found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, redis
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.