Skip to content

Commit 4e8ccb8

Browse files
committed
formatting
1 parent cc2fa3d commit 4e8ccb8

File tree

2 files changed

+31
-29
lines changed

2 files changed

+31
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Before using this feature, you should ensure that [Node](https://nodejs.org) is
132132
npm install --save-dev chokidar
133133
```
134134

135-
You may configure the list of directories/files under watch in your application's `config/octane.php` configuration file.
135+
You may configure the directories and files that should be watched using the `watch` configuration option within your application's `config/octane.php` configuration file.
136136

137137
#### Specifying The Worker Count
138138

config/octane.php

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -122,30 +122,6 @@
122122
//
123123
],
124124

125-
/*
126-
|--------------------------------------------------------------------------
127-
| Garbage Collection Threshold
128-
|--------------------------------------------------------------------------
129-
|
130-
| When executing long-lived PHP scripts such as Octane, memory can build
131-
| up before being cleared by PHP. You can force Octane to run garbage
132-
| collection if your application consumes this amount of megabytes.
133-
|
134-
*/
135-
136-
'garbage' => 50,
137-
138-
/*
139-
|--------------------------------------------------------------------------
140-
| Maximum Execution Time
141-
|--------------------------------------------------------------------------
142-
|
143-
| (info) 0 means no maximum limit
144-
|
145-
*/
146-
147-
'max_execution_time' => 30,
148-
149125
/*
150126
|--------------------------------------------------------------------------
151127
| Octane Cache Table
@@ -182,12 +158,12 @@
182158

183159
/*
184160
|--------------------------------------------------------------------------
185-
| Lorem Ipsum
161+
| File Watching
186162
|--------------------------------------------------------------------------
187163
|
188-
| Lorem Ipsum has been the industry's standard dummy text ever since
189-
| the 1500s, when an unknown printer took a galley of type and sc
190-
| rambled it to make a type specimen book. It has survived not.
164+
| The following list of files and directories will be watched when using
165+
| the --watch option offered by Octane. If any of the directories and
166+
| files are changed, Octane will automatically reload your workers.
191167
|
192168
*/
193169

@@ -203,4 +179,30 @@
203179
'.env',
204180
],
205181

182+
/*
183+
|--------------------------------------------------------------------------
184+
| Garbage Collection Threshold
185+
|--------------------------------------------------------------------------
186+
|
187+
| When executing long-lived PHP scripts such as Octane, memory can build
188+
| up before being cleared by PHP. You can force Octane to run garbage
189+
| collection if your application consumes this amount of megabytes.
190+
|
191+
*/
192+
193+
'garbage' => 50,
194+
195+
/*
196+
|--------------------------------------------------------------------------
197+
| Maximum Execution Time
198+
|--------------------------------------------------------------------------
199+
|
200+
| The following setting configures the maximum execution time for requests
201+
| being handled by Octane. You may set this value to 0 to indicate that
202+
| there isn't a specific time limit on Octane request execution time.
203+
|
204+
*/
205+
206+
'max_execution_time' => 30,
207+
206208
];

0 commit comments

Comments
 (0)