webERP Forum
Slow inventory adjustment script - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Slow inventory adjustment script (/showthread.php?tid=8114)



Slow inventory adjustment script - Jeff Harr - 03-03-2018

When I use the inventory adjustment page, I have over a one minute delay
between submission and confirmation. I do not seem to have this delay for similar operations, e.g.: PO receipts. There doesn't seem to be this delay on the webERP demo site. Do I have something mis-configured?

Ubuntu 16.04.2
Mysql 5.7.17-0
PHP Version 7.0.22-0
webERP version 4.14.1

Thanks,
Jeff


RE: Slow inventory adjustment script - TurboPT - 03-03-2018

I'm not seeing the same issue with my install.

Nothing about what you have seems "mis-configured".

With my test run, I used:
Windows 10
MariaDB 10.1.21
PHP 7.1.1
webERP 4.14.1+ (includes other development changes, not yet released)

I also have Ubuntu (same version), but that machine is not running at the moment.
If I get a chance tomorrow, I'll try a test run on the Ubuntu machine.
Ubuntu 16.04.2
MariaDB 10.0.31
PHP 7.0.22
webERP ----- I've not yet loaded webERP here.


RE: Slow inventory adjustment script - TurboPT - 03-03-2018

Tim, Andy (or anyone else) experiencing the issue with StockAdjustments mentioned in post 1?


RE: Slow inventory adjustment script - TimSchofield - 03-03-2018

I haven't experienced it, but looking at the code I wonder if it is getting stuck trying to email the details out in the section lines 376-389. I would start by commenting these out and see if that improves things.

Tim