Comments (5)
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.
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.
I really don't know how to replicate this
from data-import.
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.
still not able to replicate. will close for now.
from data-import.
Related Issues (16)
- All properties from ImportSummary must be private HOT 2
- Add template validation
- SQL Server concat
- Fix the control buttons on smaller displays
- Error listing previously imported files - main query syntax error HOT 11
- XML HOT 3
- Template validation fails with `Sentence cased` table headers HOT 1
- Tests not running HOT 4
- Keep track of import issues HOT 1
- fix stuck imports
- Add mergeConfigFrom to the Service Provider
- Refactor
- UploadedFile object HOT 1
- Update the tests HOT 1
- Create a singleton for the Template object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-import.