Keep in mind that if you made the ganache well, it would last much longer. In this regard, to have a well-made ganache, you should first bring the cream to a complete boil. After that, add it to the chopped-up chocolate.
Then, allow it to stand for five to ten minutes. Doing this will enable the hot cream to melt the chocolate.