Hangfire AutomaticRetry Attempts attribute not set on method

I am using Hangfire v1.6.14.0. I set the AutomaticRetry Attempts attribute on Method but the retry count is still the default 10. Is there something else that needs to be done?
[AutomaticRetry(Attempts = 3)]
public void SubmitRequest()
{
}

Hi, anyone reply to you? i still meet this problem