Replies: 1 comment
-
Hey @alederzz! Thanks for the suggestion of the idea. At the moment, I don't think I have any plans to add a feature like this, sorry. But if enough people want it though, it might be something that I'll consider adding. For the time being, I think it might be best to build your URL keys yourself rather than allowing the package to build a random one for you. That way, you can choose the logic that you want to use for generating your URLs 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to add a bulk upload method?
I noticed that in the individual creation a query is generated to obtain the last ID, +1 is added, the hash is generated and it is checked again if it already exists. If it exists, the process is repeated.
https://github.com/ash-jc-allen/short-url/blob/master/src/Classes/KeyGenerator.php#L40
But this process creates problems if we want to run multiple jobs in parallel.
Probably a case that I still do not have very clear would be to insert the destinations in a massive way and with another method generate the hashes.
Beta Was this translation helpful? Give feedback.
All reactions