-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update_dfx_0_20_1' of github.com:demergent-labs/azle in…
…to update_dfx_0_20_1
- Loading branch information
Showing
20 changed files
with
7,113 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.azle | ||
.dfx | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# Set the number of times to execute the curl command | ||
count=1000 # Change this number as needed | ||
|
||
# URL to which the POST request will be sent | ||
url="http://$(dfx canister id sqlite_typeorm).localhost:8000/users/batch/800" | ||
|
||
# Loop as many times as specified in the count variable | ||
for ((i=0; i<count; i++)) | ||
do | ||
echo "POST request #$i" | ||
curl -X POST "$url" | ||
done | ||
|
||
echo "All POST requests have finished" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"canisters": { | ||
"sqlite_typeorm": { | ||
"type": "azle", | ||
"main": "src/index.ts", | ||
"candid_gen": "automatic" | ||
} | ||
} | ||
} |
Oops, something went wrong.