Anonymous | Login | Signup for a new account | 2024-03-29 10:23 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0001414 | [In-Portal CMS] Data Management | refactoring | always | 2012-10-18 10:27 | 2012-10-18 10:30 |
Reporter | alex | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | resolved | ||||
Summary | 0001414: Centralize code for resource limit setting | ||||
Description |
Right now following code is copy-pasted in multiple places in In-Portal: set_time_limit(0); ini_set('memory_limit', -1); I propose, that we can move it into a new function and use it instead in all places. Here are the benefits: * it's auto-completed, so less chances to make typo error in setting name * we can add parameters to it allowing setting custom memory & time limits * we can easily track all code, that uses it to determine code, which heavily uses system resources |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |