这样做的后果是什么:
public function execute(AMQPMessage $message)
{
while (true) {
// Do some heavy work here (Example: retrieve the last 50 items from the database and update their states, etc)
sleep(2); // Sleep for 2 seconds
}
return true; // Acknowledge (Never executed)
}
由于