on 2016 Mar 16 4:31 PM
Hi all,
It there way to do sleep or wait in xs hana?
I do some pooling in xsjs, want to sleep a while in order to reduce number of calls. Waiting in a loop is not an option because it takes a lot of CPU time.
Unfortunately, SetTimeout is not available in XS.
Many thanks,
Anton
Request clarification before answering.
I have got some answers from other sources and found out that it is not possible to do in XS JS. It is even harmful " it impacting the overall XSEngine because you aren’t returning your JavaScript VM to the pool in a timely manager. The scaling of XS Classic is dependent upon the quick swapping of VMs into and out of a relatively small pool. "
I will implement "wait functionality" in the consumer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
51 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.