kr/beanstalkd — pull request #87 by julman99 (2012-01-15 20:46:15+00:00)
Title: Added clear-tube command to beanstalkd 

The clear-tube command WILL clear the ready and the delayed jobs from the specified tube.

Syntax:
clear-tube

The tube will be immediately marked as empty, all the jobs will be copied to a trash. On each tick, the server will free the memory of 5 jobs from the trash list. Note that the number 5 was chosen arbitrarily and probably there are better values which will free the memory faster without performance hit.