Calls to updateGlobalPreference are very, very slow
Hi friends.
I'm using Novu (not the self hosted version) with some success but i've run into a weird issue. I'm trying to update the notification preferences for a subscriber, by calling
updateGlobalPreference
. However, calls to this endpoint currently take around 10 seconds to complete. Are there any active issues with the servers? Should I be using another endpoint?
Part of my endpoint looks like this:
await novu.subscribers.updateGlobalPreference(user.id.toString(), {
enabled: true,
preferences: [{
type: ChannelTypeEnum.PUSH,
enabled: allowPushNotifications,
}]
});
Calls to the same endpoint that don't involve calling the Novu API finish in less than 50ms, so the issue is not my own API.
Let me jnow if you need more info - thanks in advance.3 Replies
@Faxmachine Looking into this.
Is your account in EU region or US region?
@Faxmachine
I can reproduce the issue. Sharing with my team
My region is EU! Good to hear its reproducable 😄
Any updates on this?
The endpoint is unusable right now
@Faxmachine
we are working on fixing this. It will be fixed today