forked from cybrespace/pinafore
remove sleep while restoring mastodon test data (#338)
This commit is contained in:
parent
611282d1ad
commit
9235726a59
|
@ -46,7 +46,6 @@ export async function restoreMastodonData () {
|
||||||
let internalIdsToIds = {}
|
let internalIdsToIds = {}
|
||||||
for (let action of actions) {
|
for (let action of actions) {
|
||||||
console.log(JSON.stringify(action))
|
console.log(JSON.stringify(action))
|
||||||
await new Promise(resolve => setTimeout(resolve, 200)) // sleep because otherwise order may not be preserved
|
|
||||||
let accessToken = users[action.user].accessToken
|
let accessToken = users[action.user].accessToken
|
||||||
|
|
||||||
if (action.post) {
|
if (action.post) {
|
||||||
|
|
Loading…
Reference in New Issue