# Using /restart multiple times delays response

**URL:** <https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871>\
**Category:** Rasa Open Source\
**Created:** [November 29, 2019, 7:01am UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871 "2019-11-29T07:01:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saibharani](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saibharani/32/5204_2.png) [@saibharani](https://forum.rasa.com/u/saibharani)\
**Post date:** [November 29, 2019, 7:01am UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/1 "2019-11-29T07:01:30Z")

</div>

I have a conversation that triggers `/restart` multiple times. but after several for example 30 `/restart` triggers the response is delayed by multiple times (sometimes taking 12 secs for one response) is this some kind of bug. I think rasa should delete the previous conversation every time I use `/restart` and should start a fresh conversation then why am I experiencing this delay

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [November 29, 2019, 2:59pm UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/2 "2019-11-29T14:59:59Z")

</div>

Hi saibharani,

rasa slowing down when the tracker gets bigger is a known issue and we’re working on it. Sorry about this.

About `/restart` though, this does not reset the tracker. The bot will behave as if it is a fresh conversation but the previous events are still stored.

---

<div class="post-metadata">

**Author:** ![saibharani](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saibharani/32/5204_2.png) [@saibharani](https://forum.rasa.com/u/saibharani)\
**Post date:** [November 30, 2019, 7:26am UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/3 "2019-11-30T07:26:27Z")

</div>

ok is there any other way we can reset the complete conversation. Once I use `/restart` I don’t want any previous events stored in the memory. If we achieve to delete events in the list after using `/restart` will it help increase the speed of rasa to normal level.

---

<div class="post-metadata">

**Author:** ![saibharani](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saibharani/32/5204_2.png) [@saibharani](https://forum.rasa.com/u/saibharani)\
**Post date:** [November 30, 2019, 9:21am UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/4 "2019-11-30T09:21:26Z")

</div>

I think i found a temperory workaround [using this HTTP API](http://localhost:5005/conversations/%7Bconversation_id%7D/tracker/events) to replace the events of a user

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [December 3, 2019, 9:57am UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/5 "2019-12-03T09:57:40Z")

</div>

Great that you found a solution. You could also overwrite the `ActionRestart` class to do what you want (or create another custom action for it)

---

<div class="post-metadata">

**Author:** ![saibharani](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saibharani/32/5204_2.png) [@saibharani](https://forum.rasa.com/u/saibharani)\
**Post date:** [December 3, 2019, 11:59am UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/6 "2019-12-03T11:59:11Z")

</div>

I created a custom action to trigger the events replacement API but I think its better if rasa adds a `/reset` option also. Which deletes the full conversation and starts a fresh conversation instead of keeping a track in the background which is delaying the response time alot.

---

<div class="post-metadata">

**Author:** ![ojas](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@ojas](https://forum.rasa.com/u/ojas)\
**Post date:** [March 16, 2021, 1:20pm UTC](https://forum.rasa.com/t/using-restart-multiple-times-delays-response/21871/7 "2021-03-16T13:20:45Z")

</div>

Hi Sai,

@saibharaniCan you please elaborate how we can reset events once the chat ends?
