You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ You may use the following code block below as a template, which has some good de
80
80
'protocol' => env('DB_PROTOCOL', 'https'),
81
81
'cache_session_token' => env('DB_CACHE_SESSION_TOKEN', true), // set to false to log out after each reqeust. This can be slower than re-using a session token, but allows for globals to be set for individual user values.
82
82
'empty_strings_to_null' => env('DB_EMPTY_STRINGS_TO_NULL', true), // set to false to return empty strings instead of null values when fields are empty in FileMaker
83
+
'request_timeout' => env('DB_REQUEST_TIMEOUT', 30), // set the request timeout in seconds (default 30)
83
84
]
84
85
```
85
86
You should add one database connection configuration for each FileMaker database you will be connecting to. Each file can have completely different configurations, and can even be on different servers.
@@ -389,6 +390,12 @@ FM::setGlobalFields() // not chainable
389
390
->getLayoutMetadata()
390
391
```
391
392
393
+
#### Request customization methods
394
+
```php
395
+
->setRetries($retries) // set the number of retries fora request (value of 2 will make 3 requestsin total)
396
+
->setTimeout($timeout) // set the timeout fora requestin seconds
0 commit comments