Term Cleanup: When initially starting the term consolidation process, can take a while to reload the page

Abierto
#907 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
php

Línea de trabajo

Reproduce el retraso haciendo clic en Find similar tags con una taxonomía que contenga muchos términos y, a continuación, rastrea la acción que gestiona la solicitud inicial de consolidación de términos. Determina qué trabajo bloquea la recarga de la página; el trabajo estará terminado cuando la actualización inicial de la página sea rápida mientras la consolidación continúa según lo previsto, con cobertura para el caso de una taxonomía grande.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Describe the bug

Originally reported by @dkotter:

This may not be a big deal but I noticed that if I have a taxonomy with lots of terms (in my case, was testing with ~8000 tags), when I initially click the Find similar tags button, it reloads the page but takes quite awhile for that reload to work. I had assumed that clicking that button would trigger the process to start in the background, which means it wouldn't take any extra time to load. I'm guessing what's happening is it's starting the process and running the first iteration at the same time, thus resulting in the page taking a bit to load.

That assumption may be wrong but would be nice to figure out why that first load is so long and see if we can make that a normal page load.

Steps to Reproduce

Originally reported by @dkotter:

Start the term consolidation process with a taxonomy that has lots of terms. Note that it takes quite a few seconds for the page to refresh.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

Originally reported in https://github.com/10up/classifai-cleanup/issues/4.

Code of Conduct
  • I agree to follow this project's Code of Conduct
Lenguaje dominante
PHP
Estrellas
714
Forks
68
Merge medio
4 h 32 min
PR fusionados (30 d)
23

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de 10up/classifai

Todos los issues de 10up/classifai

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.