Coder Social home page Coder Social logo

Comments (5)

aocneanu avatar aocneanu commented on June 14, 2024

It's not very clear to me what the problem is. The default max_execution_time for imports is 100 (config). Did you specifically limit an import to 60 ?

Edit:

I tried limiting the provided owners.json template from the examples package to 2sec. Once I try to import a file with xxxx records this is what the logger reports

[2018-09-29 07:31:00] local.ERROR: Maximum execution time of 2 seconds exceeded {"userId":1,"email":"[email protected]","exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 1): Maximum execution time of 2 seconds exceeded at /Users/adi/code/ensov2/vendor/box/spout/src/Spout/Reader/Wrapper/XMLInternalErrorsHelper.php:79)
[stacktrace]

As a note this package will be improved soon to work async. The plan is that the user will only wait for the file upload and from that point on everything should happen with queued jobs and the possibility to display real time progress.

from data-import.

jlsjonas avatar jlsjonas commented on June 14, 2024

It's a test-related issue; it seems that the counter doesn't "reset" between the different tests. which makes them fail (if you run them with a coverage report, as that takes significantly longer)

from data-import.

aocneanu avatar aocneanu commented on June 14, 2024

I really don't know how to replicate this

from data-import.

jlsjonas avatar jlsjonas commented on June 14, 2024

command that caused this:
C:\laragon\bin\php\php-7.1.20-Win32-VC14-x64\php.exe -d max_execution_time=30000 -dxdebug.coverage_enable=1 path/to/project/vendor/phpunit/phpunit/phpunit --coverage-clover path\to\.PhpStorm2018.2\system\coverage\ProjectName$phpunit_xml.xml --configuration path\to\project\phpunit.xml --teamcity

(coverage xml doesn't actually exist in the folder it seems' at least not when I check it after or during test)
Maybe Introducing a heavy load on the system while running a coverage report could replicate the behaviour if a regular coverage report doesn't trigger the issue?

from data-import.

aocneanu avatar aocneanu commented on June 14, 2024

still not able to replicate. will close for now.

from data-import.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.