Remove the :^dynamic quality of api-token (previously *api-token*). This
is unnecessary. Just using def ensures that it remains constant, as
the api-token should. If the restart method were to be called, the api-token would be re-read,
causing repeated IO calls, which are expensive. An api-token should remain
constant, so there's no reason to make it dynamic.
Sorry man, somehow I'm missing notifications for your PRs.
I do wanna look into this a little further to understand wtf I was thinking when I originally wrote this. Seems pretty intentional.
Remove the
:^dynamic
quality of api-token (previously*api-token*
). This is unnecessary. Just usingdef
ensures that it remains constant, as the api-token should. If the restart method were to be called, the api-token would be re-read, causing repeated IO calls, which are expensive. An api-token should remain constant, so there's no reason to make it dynamic.