Problem/Motivation

When I updated the module to the latest version available and launched the drush updb command, I saw that update 8106 was taking a long time and I thought something was wrong.

I decided to dig a little deeper and realized that for the project I'm working on, I'm getting over 1100 results, as you can see in the image ($sandbox['max]).

I think showing the progress to the user through the console would be a good idea, with the aim of not canceling the execution of that update

Steps to reproduce

  • Update module to latest version
  • Run drush updb
  • If you see that rabbit_hole_update_8106() is taking too long, you probably have a lot of items to process and no progress is showing through the CLI.

Proposed resolution

Add new changes to rabbit_hole_update_8106() to show the progress through CLI.

CommentFileSizeAuthor
#2 3437660-2.patch1.77 KBcmarrufo
rabbit_hole_update_8106_.png96.08 KBcmarrufo
Tag1 Consulting supports Drupal.Tag1 logo

Comments

cmarrufo created an issue. See original summary.

cmarrufo’s picture

FileSize
1.77 KB

Attached patch

cmarrufo’s picture

Status: Active » Needs review