Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fb0a82ae
authored
Mar 02, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
8de2508d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
app/Console/Commands/RefreshHistoryPurchaseUser.php
app/Console/Commands/RefreshHistoryPurchaseUser.php
View file @
fb0a82ae
...
...
@@ -29,6 +29,13 @@ class RefreshHistoryPurchaseUser extends Command
*/
public
function
handle
()
{
// ------------------ 关键代码 ------------------
set_time_limit
(
0
);
// 0 = 永不超时(最常用)
// 或者写成:ini_set('max_execution_time', 0);
// ------------------------------------------------
// 可选:同时把内存也放开(经常一起用)
ini_set
(
'memory_limit'
,
'2G'
);
// 或 '-1' 无限
$mode
=
$this
->
option
(
'mode'
);
$num
=
(
int
)
$this
->
option
(
'num'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment