Also another thing to consider, my ram is only 2400mhz and I'm starting to think its that causing the issues
Ryzen CPUs are very sensitive to RAM speed and 2400 MHz RAM
will cause them to perform more slowly. As mentioned by
@magbarn, the highest speed that'll work properly with your Ryzen 1700 is 3200 MHz, although if you upgrade to a Ryzen 3600x, 3600 MHz RAM would be ideal.
I would recommend a Ryzen 5600X CPU as the CPU of choice to someone trying to hit high refresh rates. The Ryzen 3600X definitely improves upon a Ryzen 1700 in some meaningful ways, but it still has the same issues rendering large amounts of frames per second. I think if you upgrade to a 3600x you'll end up disappointed in the long run. At the same time, the 5600x is expensive and hard to find right now and would undoubtedly require you to purchase a new motherboard (considering the age of your build I seriously doubt yours is compatible). So since it'll probably be a little while before you can get a new motherboard + CPU + RAM (seeing as how it's been 2 years and you just now bought a 1070 ti), my best recommendation to you right now would be to:
A) Save up for the new hardware
B) Since your CPU can't send your GPU more than 120 fps, turning down your settings all the way is a waste; your GPU is being underutilized and is sitting there without much to do. Turn your settings up until you see your frame rates drop a little bit; at this point, your GPU is being fully utilized and your CPU is almost being fully utilized. This is a better overall balance for your current hardware.