Skip to content

Load tester hanging in login function (due to client.subscribe) #8

@TBG-FR

Description

@TBG-FR

Hello there

I have found an issue, apparently caused by this block in api.js, line 172

				if (!NO_SUBSCRIBE) {
					await client.subscribeUserData();
				} else if (NO_SUBSCRIBE === 'no-active') {
					await Promise.all([
						'roles',
						'webdavAccounts',
						'userData',
						// 'activeUsers'
					].map(stream => client.subscribe(stream, '')));
				}

It looks like the execution is hanging there, because if I comment that block, the project is working very well...
I understand that this block allows us to get some "callback" data after our actions, but I may need your help understanding it better, hopefully we'll manage to fix it

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions