Open dansharisan opened 7 months ago
I'm new to FeathersJs. One of my projects I'm currently working on is using FeathersJs, however I noticed that it's taking long (usually around 5 seconds) to login. Upon debugging I found that this line:
return app.authenticate(strategy, strategyOptions)(request).then((result = {}) => {
in
node_modules/@feathersjs/authentication/lib/hooks/authenticate.js
is taking around more than 4 seconds to process. Is it normal? My DB only has less than 10 users so probably it's not about the data.
if you use local strategy, recheck authentication configuration and HashSize options at your json config file. set more small hashsize.
I'm new to FeathersJs. One of my projects I'm currently working on is using FeathersJs, however I noticed that it's taking long (usually around 5 seconds) to login. Upon debugging I found that this line:
in
is taking around more than 4 seconds to process. Is it normal? My DB only has less than 10 users so probably it's not about the data.