# long processing due to async

**URL:** <https://forum.wixstudio.com/t/long-processing-due-to-async/2597>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [October 11, 2018, 2:05pm UTC](https://forum.wixstudio.com/t/long-processing-due-to-async/2597 "2018-10-11T14:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dafna-kotzer](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/dafna-kotzer/32/981_2.png) [@dafna-kotzer](https://forum.wixstudio.com/u/dafna-kotzer)\
**Post date:** [October 11, 2018, 2:05pm UTC](https://forum.wixstudio.com/t/long-processing-due-to-async/2597/1 "2018-10-11T14:05:39Z")

</div>

Hi,

Need some help -  
I have the following page:

> **[ניהול מאגרי מידע | רונן מושייב - רמלה](https://avpromotional.wixsite.com/website-4/blank-14)**

with the attached code.  
The code is working fine, and the result is good, but it takes almost 30 seconds of processing.  
I think it’s because of the ‘async’ functions, and I need some help to make it work faster.  
I tried to play with all the ‘wait’, but it didn’t work. the ‘for’ loop runs too fast, and the result ends with false data.

many many thanks:)  
Dafna

> **[WonderWix Advanced Velo Solutions](https://www.wonderwix.net/)**
>
> Wix Velo certified
> Advanced Wix sites
> JavaScript for Velo
> Wix 3rd party integrations
> Wix Databases
> Advanced member areas
> Advanced dynamic pages
> Advanced forms
> Sending customized Emails & SMS
> Dynamic Google Maps
> Advanced data filters

 ![](https://us1.discourse-cdn.com/wix/original/3X/f/f/ff1a59bae13a21c58ae353f7dea8eaefc6d8388c.png)
