Weight gain woes

A
I'm 24 weeks and lately have been having a hard time with my weight gain. I was pretty fit before, with muscle definition and do weight train regularly. I am about 5'8 and was 128lb when I got pregnant. I am now 155lb at 24 weeks. I don't see my doctor until the 22nd of this month but whenever I bright up my weight gain she says I'm fine. She said I could gain up to 40 lbs which I'm fine with but I'm worried I'm gaining way too fast! I do not go crazy with food or anything just because I'm pregnant. Of course I do splurge at special events but on a normal day I don't do anything crazy. I take in less calories now then before I got pregnant since my workouts are less intense. With the diabetes test coming up I'm super nervous! Anyone else going through it?