Skip to content

登録後にThread.sleep(1000)しているのはなぜ? #67

Description

@takezoe
manageTweetService.insertTweet(tweet)

のあとにThread.sleep(1000)してるところがあるんですが、これはなぜでしょう?Elasticsearchへの反映待ち?であればElasticsearchに対してflushすれば即反映されます。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions