Max number of tries when generating the slug value

Issue #40 new
Inanc Sevinc created an issue

The code that generates the unique slug is querying the database indefinitely until it finds the unique value.

In the case of common words, this causes excessive number of db calls. It would be nice if it was possible to specify the maximum number of tries. A uuid value can be used to generate the slug after index exceeds that number.

Comments (0)

  1. Log in to comment