-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the paratii.users.create promise is taking ~30 seconds or more to resolve #244
Comments
Is it possible for someone to look into this? I see issues w/ user creation/lookup consistently locally and it makes it quite difficult to develop new profile features, specifically this one. Perhaps this is only an issue on my machine but not sure why it would be. Thanks in advance! |
@bent0b0x , I cannot reproduce this.. you see this in the tests as well? |
How have you tried to repro it? There is no blocking in the UI but if you put a This leads to us not being able to fetch user data until this time span has elapsed |
I call this in devtools in the browser and it returns immediately (<.5 secs
I think):
paratii.eth.users.create({id: '0xCbe4f07b343171ac37055B25a5266f48f6945b7d',
name: 'jelle', ipfsData: 'xxxxx'}).then(() => { console.log('done') })
…On Fri, May 25, 2018 at 1:56 PM Ben ***@***.***> wrote:
How have you tried to repro it? There is no blocking in the UI but if you
put a .then after paratii.users.create the callback was not hit for 30
seconds (at least in my experience, and at least locally).
This leads to us not being able to fetch user data until this time span
has elapsed
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#244 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPuPd8RJBYS8gLg8iHeTtefSEWKwu0qks5t1_FkgaJpZM4UF1Qy>
.
|
Connected to local dB? I will try again today, perhaps it was a blip but I did have this problem on multiple days |
Mm, I actually did try the wrong function call (it should be this). Runing
agians local db, latest `dev` version:
paratii.users.create({id:
'0xCbe4f07b343171ac37055B25a5266f48f6945b7d', name: 'jelle', ipfsData:
'xxxxx'}).then(() => { console.log('done') })
…On Fri, May 25, 2018 at 3:29 PM Ben ***@***.***> wrote:
Connected to local dB? I will try again today, perhaps it was a blip but I
did have this problem on multiple days
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#244 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPuPUFj_kwKufD5qYWC6MkvtmZLRLf8ks5t2Ac-gaJpZM4UF1Qy>
.
|
This is what @bent0b0x reports:
Paratii-Video/paratii-portal#582 (comment)
The text was updated successfully, but these errors were encountered: