Skip to content

Commit 88a897b

Browse files
authored
re-enable copy to clipboard (#120)
* re-enable copy to clipboard Signed-off-by: Michael Kalantar <[email protected]> * update load test script Signed-off-by: Michael Kalantar <[email protected]> --------- Signed-off-by: Michael Kalantar <[email protected]>
1 parent c546ce5 commit 88a897b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ theme:
2020
# Default values, taken from mkdocs_theme.yml
2121
language: en
2222
features:
23+
- content.code.copy
2324
- navigation.instant
2425
- navigation.sections
2526
- navigation.tabs

samples/abn-sample/generate_load.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ BUY="$SERVICE/buy"
88
while (( 1 )); do
99
__user=$(uuidgen)
1010
__num_purchases=$(( ( RANDOM % 5 ) +1 ))
11-
j=0
12-
while (( ${j} < ${__num_purchases} )); do
11+
j=1
12+
while (( ${j} <= ${__num_purchases} )); do
1313
echo "purchase $j of $__num_purchases for user $__user"
1414
__num_recommendations=$(( ( RANDOM % 5 ) + 1 ))
1515
# get some recommendations
16-
i=0
17-
while (( ${i} < ${__num_recommendations} )); do
16+
i=1
17+
while (( ${i} <= ${__num_recommendations} )); do
1818
echo "> recommendation $i of $__num_recommendations"
1919
curl -s ${GET_RECOMMENDATION} -H "X-User: ${__user}"
2020
sleep $(( ( RANDOM % 2000 ) / 1000 ))

0 commit comments

Comments
 (0)