Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f5d3400

Browse files
committed
README formatting.
1 parent e075ea3 commit f5d3400

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,18 @@ Note about types of times and binaryData
9191

9292
- If this environment variable is not set, or is set to any unexpected values, then the default types listed previously are used.
9393

94+
Note about performance:
95+
~~~~~~~~~~~~~~~~~~~~~~~
96+
9497
- By default calls to some SDK functions cause a REST request to be sent to acquire the Registry API Keys found on the IoTCore UI Registry Details page. Those keys are cached for subsequent operations in order to improve performance. However these caches do not persist if the application is stopped and restarted as would be the case with typical serverless functions (e.g. Google Cloud Functions, AWS Lambda etc.). In order to improve the performance of those functions, the REST call can be prevented by passing the API Keys as environment variables:
98+
9599
1. **REGISTRY_URL**: **string**
96100
2. **REGISTRY_SYSKEY**: **string**
97101
3. **REGISTRY_TOKEN**: **string**
98102

99-
Note about running from source instead of PyPi (pip) module:
100103
Note about running from the source instead of the PyPi (pip) module:
101-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105+
102106
- To temporarily use the source code in this repo instead of the installed PyPi (pip) module, do the following:
103107

104108
1. Clone this repo.

0 commit comments

Comments
 (0)