مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
feat: new background work process
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
هذا الالتزام موجود في:
12
bin/postal
12
bin/postal
@@ -16,21 +16,13 @@ case "$1" in
|
||||
;;
|
||||
|
||||
smtp-server)
|
||||
run "bundle exec rake postal:smtp_server"
|
||||
run "bundle exec ruby script/smtp_server.rb"
|
||||
;;
|
||||
|
||||
worker)
|
||||
run "bundle exec ruby script/worker.rb"
|
||||
;;
|
||||
|
||||
cron)
|
||||
run "bundle exec rake postal:cron"
|
||||
;;
|
||||
|
||||
requeuer)
|
||||
run "bundle exec rake postal:requeuer"
|
||||
;;
|
||||
|
||||
initialize)
|
||||
echo 'Initializing database'
|
||||
run "bundle exec rake db:create db:schema:load db:seed"
|
||||
@@ -69,8 +61,6 @@ case "$1" in
|
||||
echo -e " * \033[35mweb-server\033[0m - run the web server"
|
||||
echo -e " * \033[35msmtp-server\033[0m - run the SMTP server"
|
||||
echo -e " * \033[35mworker\033[0m - run a worker"
|
||||
echo -e " * \033[35mcron\033[0m - run the cron process"
|
||||
echo -e " * \033[35mrequeuer\033[0m - run the message requeuer"
|
||||
echo
|
||||
echo "Setup/upgrade tools:"
|
||||
echo
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم